summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/clocksource.h
blob: a5df33f614c9542165b2a1171a23f5738accc3ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* x86-specific clocksource additions */

#ifndef _ASM_X86_CLOCKSOURCE_H
#define _ASM_X86_CLOCKSOURCE_H

#ifdef CONFIG_X86_64

#define __ARCH_HAS_CLOCKSOURCE_DATA

struct arch_clocksource_data {
	cycle_t (*vread)(void);
};

#endif /* CONFIG_X86_64 */

#endif /* _ASM_X86_CLOCKSOURCE_H */
OpenPOWER on IntegriCloud