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 <tglx@linutronix.de> Cc: Ingo Molnar <mingo@elte.hu> Cc: john stultz <johnstul@us.ibm.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Andi Kleen <ak@suse.de> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
committed by
Linus Torvalds
parent
43d6ca0184
commit
a2900975ef
@@ -5,7 +5,6 @@
|
||||
|
||||
#define TICK_SIZE (tick_nsec / 1000)
|
||||
|
||||
void setup_pit_timer(void);
|
||||
unsigned long long native_sched_clock(void);
|
||||
unsigned long native_calculate_cpu_khz(void);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user