summaryrefslogtreecommitdiffstats
path: root/arch/i386/kernel/timers/timer_pit.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/i386/kernel/timers/timer_pit.c')
-rw-r--r--arch/i386/kernel/timers/timer_pit.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/i386/kernel/timers/timer_pit.c b/arch/i386/kernel/timers/timer_pit.c
index 967d545..06de036a 100644
--- a/arch/i386/kernel/timers/timer_pit.c
+++ b/arch/i386/kernel/timers/timer_pit.c
@@ -15,9 +15,8 @@
#include <asm/smp.h>
#include <asm/io.h>
#include <asm/arch_hooks.h>
+#include <asm/i8253.h>
-extern spinlock_t i8259A_lock;
-extern spinlock_t i8253_lock;
#include "do_timer.h"
#include "io_ports.h"
@@ -166,7 +165,6 @@ struct init_timer_opts __initdata timer_pit_init = {
void setup_pit_timer(void)
{
- extern spinlock_t i8253_lock;
unsigned long flags;
spin_lock_irqsave(&i8253_lock, flags);
OpenPOWER on IntegriCloud