Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost
[cris-mirror.git] / arch / x86 / include / asm / jailhouse_para.h
blob875b543766892e7686512e864a6ee4e95e04dea3
1 /* SPDX-License-Identifier: GPL2.0 */
3 /*
4 * Jailhouse paravirt_ops implementation
6 * Copyright (c) Siemens AG, 2015-2017
8 * Authors:
9 * Jan Kiszka <jan.kiszka@siemens.com>
12 #ifndef _ASM_X86_JAILHOUSE_PARA_H
13 #define _ASM_X86_JAILHOUSE_PARA_H
15 #include <linux/types.h>
17 #ifdef CONFIG_JAILHOUSE_GUEST
18 bool jailhouse_paravirt(void);
19 #else
20 static inline bool jailhouse_paravirt(void)
22 return false;
24 #endif
26 #endif /* _ASM_X86_JAILHOUSE_PARA_H */