mirror of https://github.com/Qortal/Brooklyn
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
495 B
23 lines
495 B
// SPDX-License-Identifier: GPL-2.0-only |
|
/* |
|
* |
|
* Copyright (C) 2013 Citrix Systems |
|
* |
|
* Author: Stefano Stabellini <[email protected]> |
|
*/ |
|
|
|
#include <linux/export.h> |
|
#include <linux/jump_label.h> |
|
#include <linux/types.h> |
|
#include <linux/static_call.h> |
|
#include <asm/paravirt.h> |
|
|
|
struct static_key paravirt_steal_enabled; |
|
struct static_key paravirt_steal_rq_enabled; |
|
|
|
static u64 native_steal_clock(int cpu) |
|
{ |
|
return 0; |
|
} |
|
|
|
DEFINE_STATIC_CALL(pv_steal_clock, native_steal_clock);
|
|
|