From a2900975ef3f1df33c83e750cc1e490de3374ca8 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Sat, 21 Jul 2007 17:11:34 +0200 Subject: i386: move PIT function declarations and constants to correct header file setup_pit_timer is declared in asm-i386/timer.h. Move it to the pit header file, so it can be used by x86_64 as well. Move also the PIT constants. Signed-off-by: Thomas Gleixner Cc: Ingo Molnar Cc: john stultz Signed-off-by: Andrew Morton Signed-off-by: Andi Kleen Signed-off-by: Linus Torvalds --- arch/i386/kernel/i8253.c | 2 -- arch/i386/kernel/vmiclock.c | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'arch/i386') diff --git a/arch/i386/kernel/i8253.c b/arch/i386/kernel/i8253.c index 73c33429f0e..6d839f2f1b1 100644 --- a/arch/i386/kernel/i8253.c +++ b/arch/i386/kernel/i8253.c @@ -15,8 +15,6 @@ #include #include -#include "io_ports.h" - DEFINE_SPINLOCK(i8253_lock); EXPORT_SYMBOL(i8253_lock); diff --git a/arch/i386/kernel/vmiclock.c b/arch/i386/kernel/vmiclock.c index d23077cca45..b1b5ab08b26 100644 --- a/arch/i386/kernel/vmiclock.c +++ b/arch/i386/kernel/vmiclock.c @@ -32,6 +32,7 @@ #include #include #include +#include #include #include "io_ports.h" -- cgit v1.2.2