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

Commit bef9f9de authored by Chris Wright's avatar Chris Wright Committed by Linus Torvalds
Browse files

i386: remove pit_interrupt_hook



Remove pit_interrupt_hook as it adds just an extra layer.

Signed-off-by: default avatarChris Wright <chrisw@sous-sol.org>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
Signed-off-by: default avatarAndi Kleen <ak@suse.de>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 8180a550
Loading
Loading
Loading
Loading
+0 −11
Original line number Original line Diff line number Diff line
@@ -7,15 +7,4 @@ extern spinlock_t i8253_lock;


extern struct clock_event_device *global_clock_event;
extern struct clock_event_device *global_clock_event;


/**
 * pit_interrupt_hook - hook into timer tick
 * @regs:	standard registers from interrupt
 *
 * Call the global clock event handler.
 **/
static inline void pit_interrupt_hook(void)
{
	global_clock_event->event_handler(global_clock_event);
}

#endif	/* __ASM_I8253_H__ */
#endif	/* __ASM_I8253_H__ */
+1 −1
Original line number Original line Diff line number Diff line
@@ -12,5 +12,5 @@


static inline void do_timer_interrupt_hook(void)
static inline void do_timer_interrupt_hook(void)
{
{
	pit_interrupt_hook();
	global_clock_event->event_handler(global_clock_event);
}
}
+1 −1
Original line number Original line Diff line number Diff line
@@ -12,7 +12,7 @@
 **/
 **/
static inline void do_timer_interrupt_hook(void)
static inline void do_timer_interrupt_hook(void)
{
{
	pit_interrupt_hook();
	global_clock_event->event_handler(global_clock_event);
	voyager_timer_interrupt();
	voyager_timer_interrupt();
}
}