Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[deliverable/linux.git] / arch / arm / include / asm / paravirt.h
1 #ifndef _ASM_ARM_PARAVIRT_H
2 #define _ASM_ARM_PARAVIRT_H
3
4 #ifdef CONFIG_PARAVIRT
5 struct static_key;
6 extern struct static_key paravirt_steal_enabled;
7 extern struct static_key paravirt_steal_rq_enabled;
8
9 struct pv_time_ops {
10 unsigned long long (*steal_clock)(int cpu);
11 };
12 extern struct pv_time_ops pv_time_ops;
13
14 static inline u64 paravirt_steal_clock(int cpu)
15 {
16 return pv_time_ops.steal_clock(cpu);
17 }
18 #endif
19
20 #endif
This page took 0.031087 seconds and 5 git commands to generate.