Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost
[cris-mirror.git] / arch / arm / include / asm / paravirt.h
blobd51e5cd31d015ac5945987d38d601f9e0f018369
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _ASM_ARM_PARAVIRT_H
3 #define _ASM_ARM_PARAVIRT_H
5 #ifdef CONFIG_PARAVIRT
6 struct static_key;
7 extern struct static_key paravirt_steal_enabled;
8 extern struct static_key paravirt_steal_rq_enabled;
10 struct pv_time_ops {
11 unsigned long long (*steal_clock)(int cpu);
13 extern struct pv_time_ops pv_time_ops;
15 static inline u64 paravirt_steal_clock(int cpu)
17 return pv_time_ops.steal_clock(cpu);
19 #endif
21 #endif