Skip to content

Commit

Permalink
x86: Remove do_timer hook
Browse files Browse the repository at this point in the history
This is a left over of the old x86 sub arch support. Remove it and
open code it like we do in time_64.c

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
  • Loading branch information
Thomas Gleixner committed Aug 31, 2009
1 parent 845b394 commit ecce850
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 19 deletions.
16 changes: 0 additions & 16 deletions arch/x86/include/asm/do_timer.h

This file was deleted.

7 changes: 4 additions & 3 deletions arch/x86/kernel/time_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
* serialize accesses to xtime/lost_ticks).
*/

#include <linux/clockchips.h>
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/time.h>
Expand All @@ -37,8 +38,8 @@
#include <asm/hpet.h>
#include <asm/time.h>
#include <asm/timer.h>

#include <asm/do_timer.h>
#include <asm/i8259.h>
#include <asm/i8253.h>

int timer_ack;

Expand Down Expand Up @@ -92,7 +93,7 @@ static irqreturn_t timer_interrupt(int irq, void *dev_id)
}
#endif

do_timer_interrupt_hook();
global_clock_event->event_handler(global_clock_event);

#ifdef CONFIG_MCA
if (MCA_bus) {
Expand Down

0 comments on commit ecce850

Please sign in to comment.