]> Pileus Git - ~andy/linux/blob - arch/x86/include/asm/clocksource.h
clocksource: Replace vread with generic arch data
[~andy/linux] / arch / x86 / include / asm / clocksource.h
1 /* x86-specific clocksource additions */
2
3 #ifndef _ASM_X86_CLOCKSOURCE_H
4 #define _ASM_X86_CLOCKSOURCE_H
5
6 #ifdef CONFIG_X86_64
7
8 #define __ARCH_HAS_CLOCKSOURCE_DATA
9
10 struct arch_clocksource_data {
11         cycle_t (*vread)(void);
12 };
13
14 #endif /* CONFIG_X86_64 */
15
16 #endif /* _ASM_X86_CLOCKSOURCE_H */