![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /usr/lib/modules/4.18.0-348.2.1.el8_5.x86_64/build/include/linux/ |
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __LINUX_HYPEVISOR_H #define __LINUX_HYPEVISOR_H /* * Generic Hypervisor support * Juergen Gross <[email protected]> */ #ifdef CONFIG_X86 #include <asm/jailhouse_para.h> #include <asm/x86_init.h> static inline void hypervisor_pin_vcpu(int cpu) { x86_platform.hyper.pin_vcpu(cpu); } #else /* !CONFIG_X86 */ #include <linux/of.h> static inline void hypervisor_pin_vcpu(int cpu) { } static inline bool jailhouse_paravirt(void) { return of_find_compatible_node(NULL, NULL, "jailhouse,cell"); } #endif /* !CONFIG_X86 */ #endif /* __LINUX_HYPEVISOR_H */