Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at v4.8-rc5 20 lines 415 B view raw
1#ifndef _ASM_ARM_PARAVIRT_H 2#define _ASM_ARM_PARAVIRT_H 3 4#ifdef CONFIG_PARAVIRT 5struct static_key; 6extern struct static_key paravirt_steal_enabled; 7extern struct static_key paravirt_steal_rq_enabled; 8 9struct pv_time_ops { 10 unsigned long long (*steal_clock)(int cpu); 11}; 12extern struct pv_time_ops pv_time_ops; 13 14static inline u64 paravirt_steal_clock(int cpu) 15{ 16 return pv_time_ops.steal_clock(cpu); 17} 18#endif 19 20#endif