Move kvm headers from kvm/kernel to kvm/include
[qemu-kvm/fedora.git] / kvm / include / powerpc / asm / kvm_para.h
blobeb598a6f4cf21d6807bc125d024e5f94d908a9f2
1 #ifndef KVM_UNIFDEF_H
2 #define KVM_UNIFDEF_H
4 #ifdef __i386__
5 #ifndef CONFIG_X86_32
6 #define CONFIG_X86_32 1
7 #endif
8 #endif
10 #ifdef __x86_64__
11 #ifndef CONFIG_X86_64
12 #define CONFIG_X86_64 1
13 #endif
14 #endif
16 #if defined(__i386__) || defined (__x86_64__)
17 #ifndef CONFIG_X86
18 #define CONFIG_X86 1
19 #endif
20 #endif
22 #ifdef __ia64__
23 #ifndef CONFIG_IA64
24 #define CONFIG_IA64 1
25 #endif
26 #endif
28 #ifdef __PPC__
29 #ifndef CONFIG_PPC
30 #define CONFIG_PPC 1
31 #endif
32 #endif
34 #ifdef __s390__
35 #ifndef CONFIG_S390
36 #define CONFIG_S390 1
37 #endif
38 #endif
40 #endif
42 * This program is free software; you can redistribute it and/or modify
43 * it under the terms of the GNU General Public License, version 2, as
44 * published by the Free Software Foundation.
46 * This program is distributed in the hope that it will be useful,
47 * but WITHOUT ANY WARRANTY; without even the implied warranty of
48 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
49 * GNU General Public License for more details.
51 * You should have received a copy of the GNU General Public License
52 * along with this program; if not, write to the Free Software
53 * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
55 * Copyright IBM Corp. 2008
57 * Authors: Hollis Blanchard <hollisb@us.ibm.com>
60 #ifndef __POWERPC_KVM_PARA_H__
61 #define __POWERPC_KVM_PARA_H__
63 #ifdef __KERNEL__
65 static inline int kvm_para_available(void)
67 return 0;
70 static inline unsigned int kvm_arch_para_features(void)
72 return 0;
75 #endif /* __KERNEL__ */
77 #endif /* __POWERPC_KVM_PARA_H__ */