blob: 9f7565b1de6568cc134864c71d9ca8bdb679c729 [file] [log] [blame]
Hollis Blanchardbbf45ba2008-04-16 23:28:09 -05001/*
2 * This program is free software; you can redistribute it and/or modify
3 * it under the terms of the GNU General Public License, version 2, as
4 * published by the Free Software Foundation.
5 *
6 * This program is distributed in the hope that it will be useful,
7 * but WITHOUT ANY WARRANTY; without even the implied warranty of
8 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9 * GNU General Public License for more details.
10 *
11 * You should have received a copy of the GNU General Public License
12 * along with this program; if not, write to the Free Software
13 * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14 *
15 * Copyright IBM Corp. 2008
16 *
17 * Authors: Hollis Blanchard <hollisb@us.ibm.com>
18 */
19
20#ifndef __POWERPC_KVM_PARA_H__
21#define __POWERPC_KVM_PARA_H__
22
Alexander Graf96bc4512010-07-29 14:47:42 +020023#include <linux/types.h>
24
25struct kvm_vcpu_arch_shared {
Alexander Graf666e7252010-07-29 14:47:43 +020026 __u64 msr;
Alexander Grafd562de42010-07-29 14:47:44 +020027 __u32 dsisr;
Alexander Graf96bc4512010-07-29 14:47:42 +020028};
29
Hollis Blanchardbbf45ba2008-04-16 23:28:09 -050030#ifdef __KERNEL__
31
32static inline int kvm_para_available(void)
33{
34 return 0;
35}
36
37static inline unsigned int kvm_arch_para_features(void)
38{
39 return 0;
40}
41
42#endif /* __KERNEL__ */
43
44#endif /* __POWERPC_KVM_PARA_H__ */