Linux Audio

Check our new training course

Loading...
v6.13.7
 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);
v4.6
 
 1/*
 2 * This program is free software; you can redistribute it and/or modify
 3 * it under the terms of the GNU General Public License version 2 as
 4 * published by the Free Software Foundation.
 5 *
 6 * This program is distributed in the hope that it will be useful,
 7 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 8 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 9 * GNU General Public License for more details.
10 *
11 * Copyright (C) 2013 Citrix Systems
12 *
13 * Author: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
14 */
15
16#include <linux/export.h>
17#include <linux/jump_label.h>
18#include <linux/types.h>
 
19#include <asm/paravirt.h>
20
21struct static_key paravirt_steal_enabled;
22struct static_key paravirt_steal_rq_enabled;
23
24struct pv_time_ops pv_time_ops;
25EXPORT_SYMBOL_GPL(pv_time_ops);