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