summaryrefslogtreecommitdiffstats
path: root/arch/arm64/include/asm/paravirt.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm64/include/asm/paravirt.h')
-rw-r--r--arch/arm64/include/asm/paravirt.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/arch/arm64/include/asm/paravirt.h b/arch/arm64/include/asm/paravirt.h
index 799d9dd6f7cc..cf3a0fd7c1a7 100644
--- a/arch/arm64/include/asm/paravirt.h
+++ b/arch/arm64/include/asm/paravirt.h
@@ -21,6 +21,13 @@ static inline u64 paravirt_steal_clock(int cpu)
{
return pv_ops.time.steal_clock(cpu);
}
-#endif
+
+int __init pv_time_init(void);
+
+#else
+
+#define pv_time_init() do {} while (0)
+
+#endif // CONFIG_PARAVIRT
#endif