paravirt.c (495B)
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 15struct static_key paravirt_steal_enabled; 16struct static_key paravirt_steal_rq_enabled; 17 18static u64 native_steal_clock(int cpu) 19{ 20 return 0; 21} 22 23DEFINE_STATIC_CALL(pv_steal_clock, native_steal_clock);