mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-20 10:44:23 +08:00
16f871bc30
There are multiple declarations of global_clock_event in header files specific to particular clock event implementations. Consolidate them in <asm/time.h> and make sure all users include that header. Signed-off-by: Ralf Baechle <ralf@linux-mips.org> Cc: Venkatesh Pallipadi (Venki) <venki@google.com> Link: http://lkml.kernel.org/r/20110601180610.762763451@duck.linux-mips.net Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
13 lines
258 B
C
13 lines
258 B
C
#ifndef _ASM_X86_TIME_H
|
|
#define _ASM_X86_TIME_H
|
|
|
|
#include <linux/clocksource.h>
|
|
#include <asm/mc146818rtc.h>
|
|
|
|
extern void hpet_time_init(void);
|
|
extern void time_init(void);
|
|
|
|
extern struct clock_event_device *global_clock_event;
|
|
|
|
#endif /* _ASM_X86_TIME_H */
|