Commit | Line | Data |
---|---|---|
1802d0be | 1 | // SPDX-License-Identifier: GPL-2.0-only |
02c2433b | 2 | /* |
02c2433b SS |
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> | |
a0e2bf7c | 12 | #include <linux/static_call.h> |
02c2433b SS |
13 | #include <asm/paravirt.h> |
14 | ||
15 | struct static_key paravirt_steal_enabled; | |
16 | struct static_key paravirt_steal_rq_enabled; | |
17 | ||
a0e2bf7c JG |
18 | static u64 native_steal_clock(int cpu) |
19 | { | |
20 | return 0; | |
21 | } | |
22 | ||
23 | DEFINE_STATIC_CALL(pv_steal_clock, native_steal_clock); |