mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-18 18:23:53 +08:00
0655d7c32b
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>
19 lines
429 B
C
19 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
|