mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-21 08:19:28 +00:00
![Thomas Gleixner](/assets/img/avatar_default.png)
hpet.h in asm-i386 and asm-x86_64 contain tons of duplicated stuff. Consolidate into one shared header file. AK: Fix i386 compilation with !X86_IO_APIC Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Chris Wright <chrisw@sous-sol.org> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Andi Kleen <ak@suse.de> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
18 lines
429 B
C
18 lines
429 B
C
#ifndef _ASM_X8664_HPET_H
|
|
#define _ASM_X8664_HPET_H 1
|
|
|
|
#include <asm-i386/hpet.h>
|
|
|
|
#define HPET_TICK_RATE (HZ * 100000UL)
|
|
|
|
extern int hpet_rtc_timer_init(void);
|
|
extern int hpet_arch_init(void);
|
|
extern int hpet_timer_stop_set_go(unsigned long tick);
|
|
extern int hpet_reenable(void);
|
|
extern unsigned int hpet_calibrate_tsc(void);
|
|
|
|
extern int hpet_use_timer;
|
|
extern unsigned long hpet_period;
|
|
extern unsigned long hpet_tick;
|
|
|
|
#endif
|