mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 06:03:36 -04:00
[PATCH] uninline irq_enter()
Uninline irq_enter(). [dynticks adds more stuff to it] No functional changes. Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: john stultz <johnstul@us.ibm.com> Cc: Roman Zippel <zippel@linux-m68k.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
07190a08ee
commit
dde4b2b5f4
2 changed files with 11 additions and 6 deletions
|
|
@ -106,12 +106,7 @@ static inline void account_system_vtime(struct task_struct *tsk)
|
|||
* always balanced, so the interrupted value of ->hardirq_context
|
||||
* will always be restored.
|
||||
*/
|
||||
#define irq_enter() \
|
||||
do { \
|
||||
account_system_vtime(current); \
|
||||
add_preempt_count(HARDIRQ_OFFSET); \
|
||||
trace_hardirq_enter(); \
|
||||
} while (0)
|
||||
extern void irq_enter(void);
|
||||
|
||||
/*
|
||||
* Exit irq context without processing softirqs:
|
||||
|
|
|
|||
Loading…
Reference in a new issue