Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dde4b2b5 authored by Ingo Molnar's avatar Ingo Molnar Committed by Linus Torvalds
Browse files

[PATCH] uninline irq_enter()



Uninline irq_enter().  [dynticks adds more stuff to it]

No functional changes.

Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
Cc: john stultz <johnstul@us.ibm.com>
Cc: Roman Zippel <zippel@linux-m68k.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 07190a08
Loading
Loading
Loading
Loading
+1 −6
Original line number Diff line number Diff line
@@ -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:
+10 −0
Original line number Diff line number Diff line
@@ -273,6 +273,16 @@ EXPORT_SYMBOL(do_softirq);

#endif

/*
 * Enter an interrupt context.
 */
void irq_enter(void)
{
	account_system_vtime(current);
	add_preempt_count(HARDIRQ_OFFSET);
	trace_hardirq_enter();
}

#ifdef __ARCH_IRQ_EXIT_IRQS_DISABLED
# define invoke_softirq()	__do_softirq()
#else