Andy Lutomirski | 433bd80 | 2011-07-13 09:24:13 -0400 | [diff] [blame^] | 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 */ |