paravirt.c 495 B

1234567891011121314151617181920212223
  1. // SPDX-License-Identifier: GPL-2.0-only
  2. /*
  3. *
  4. * Copyright (C) 2013 Citrix Systems
  5. *
  6. * Author: Stefano Stabellini <[email protected]>
  7. */
  8. #include <linux/export.h>
  9. #include <linux/jump_label.h>
  10. #include <linux/types.h>
  11. #include <linux/static_call.h>
  12. #include <asm/paravirt.h>
  13. struct static_key paravirt_steal_enabled;
  14. struct static_key paravirt_steal_rq_enabled;
  15. static u64 native_steal_clock(int cpu)
  16. {
  17. return 0;
  18. }
  19. DEFINE_STATIC_CALL(pv_steal_clock, native_steal_clock);