xref: /openbmc/linux/arch/arm/kernel/paravirt.c (revision babbdf5b)
1 // SPDX-License-Identifier: GPL-2.0-only
2 /*
3  *
4  * Copyright (C) 2013 Citrix Systems
5  *
6  * Author: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
7  */
8 
9 #include <linux/export.h>
10 #include <linux/jump_label.h>
11 #include <linux/types.h>
12 #include <linux/static_call.h>
13 #include <asm/paravirt.h>
14 
15 struct static_key paravirt_steal_enabled;
16 struct static_key paravirt_steal_rq_enabled;
17 
18 static u64 native_steal_clock(int cpu)
19 {
20 	return 0;
21 }
22 
23 DEFINE_STATIC_CALL(pv_steal_clock, native_steal_clock);
24