cregit-Linux how code gets into the kernel

Release 4.17 include/linux/hypervisor.h

Directory: include/linux
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef __LINUX_HYPEVISOR_H

#define __LINUX_HYPEVISOR_H

/*
 *      Generic Hypervisor support
 *              Juergen Gross <jgross@suse.com>
 */

#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); }

Contributors

PersonTokensPropCommitsCommitProp
Juergen Gross19100.00%1100.00%
Total19100.00%1100.00%

#else /* !CONFIG_X86 */ #include <linux/of.h>
static inline void hypervisor_pin_vcpu(int cpu) { }

Contributors

PersonTokensPropCommitsCommitProp
Juergen Gross9100.00%1100.00%
Total9100.00%1100.00%


static inline bool jailhouse_paravirt(void) { return of_find_compatible_node(NULL, NULL, "jailhouse,cell"); }

Contributors

PersonTokensPropCommitsCommitProp
Jan Kiszka19100.00%1100.00%
Total19100.00%1100.00%

#endif /* !CONFIG_X86 */ #endif /* __LINUX_HYPEVISOR_H */

Overall Contributors

PersonTokensPropCommitsCommitProp
Juergen Gross4863.16%250.00%
Jan Kiszka2735.53%125.00%
Greg Kroah-Hartman11.32%125.00%
Total76100.00%4100.00%
Directory: include/linux
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.