x86/paravirt: Switch time pvops functions to use static_call()
[linux-2.6-block.git] / arch / arm / kernel / paravirt.c
CommitLineData
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
15struct static_key paravirt_steal_enabled;
16struct static_key paravirt_steal_rq_enabled;
17
a0e2bf7c
JG
18static u64 native_steal_clock(int cpu)
19{
20 return 0;
21}
22
23DEFINE_STATIC_CALL(pv_steal_clock, native_steal_clock);