WIP FPC-III support
[linux/fpc-iii.git] / arch / x86 / include / asm / jailhouse_para.h
bloba34897aef2c295a8100716263d06153f1a1811e7
1 /* SPDX-License-Identifier: GPL-2.0 */
3 /*
4 * Jailhouse paravirt detection
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 */