xref: /openbmc/linux/arch/powerpc/include/asm/kvm_para.h (revision b8b572e1015f81b4e748417be2629dfe51ab99f9)
1*b8b572e1SStephen Rothwell /*
2*b8b572e1SStephen Rothwell  * This program is free software; you can redistribute it and/or modify
3*b8b572e1SStephen Rothwell  * it under the terms of the GNU General Public License, version 2, as
4*b8b572e1SStephen Rothwell  * published by the Free Software Foundation.
5*b8b572e1SStephen Rothwell  *
6*b8b572e1SStephen Rothwell  * This program is distributed in the hope that it will be useful,
7*b8b572e1SStephen Rothwell  * but WITHOUT ANY WARRANTY; without even the implied warranty of
8*b8b572e1SStephen Rothwell  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
9*b8b572e1SStephen Rothwell  * GNU General Public License for more details.
10*b8b572e1SStephen Rothwell  *
11*b8b572e1SStephen Rothwell  * You should have received a copy of the GNU General Public License
12*b8b572e1SStephen Rothwell  * along with this program; if not, write to the Free Software
13*b8b572e1SStephen Rothwell  * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
14*b8b572e1SStephen Rothwell  *
15*b8b572e1SStephen Rothwell  * Copyright IBM Corp. 2008
16*b8b572e1SStephen Rothwell  *
17*b8b572e1SStephen Rothwell  * Authors: Hollis Blanchard <hollisb@us.ibm.com>
18*b8b572e1SStephen Rothwell  */
19*b8b572e1SStephen Rothwell 
20*b8b572e1SStephen Rothwell #ifndef __POWERPC_KVM_PARA_H__
21*b8b572e1SStephen Rothwell #define __POWERPC_KVM_PARA_H__
22*b8b572e1SStephen Rothwell 
23*b8b572e1SStephen Rothwell #ifdef __KERNEL__
24*b8b572e1SStephen Rothwell 
25*b8b572e1SStephen Rothwell static inline int kvm_para_available(void)
26*b8b572e1SStephen Rothwell {
27*b8b572e1SStephen Rothwell 	return 0;
28*b8b572e1SStephen Rothwell }
29*b8b572e1SStephen Rothwell 
30*b8b572e1SStephen Rothwell static inline unsigned int kvm_arch_para_features(void)
31*b8b572e1SStephen Rothwell {
32*b8b572e1SStephen Rothwell 	return 0;
33*b8b572e1SStephen Rothwell }
34*b8b572e1SStephen Rothwell 
35*b8b572e1SStephen Rothwell #endif /* __KERNEL__ */
36*b8b572e1SStephen Rothwell 
37*b8b572e1SStephen Rothwell #endif /* __POWERPC_KVM_PARA_H__ */
38