KVM: PPC: Convert DAR to shared page.
[deliverable/linux.git] / arch / powerpc / include / asm / kvm_para.h
CommitLineData
bbf45ba5
HB
1/*
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
96bc451a
AG
23#include <linux/types.h>
24
25struct kvm_vcpu_arch_shared {
5e030186 26 __u64 dar;
666e7252 27 __u64 msr;
d562de48 28 __u32 dsisr;
96bc451a
AG
29};
30
bbf45ba5
HB
31#ifdef __KERNEL__
32
33static inline int kvm_para_available(void)
34{
35 return 0;
36}
37
38static inline unsigned int kvm_arch_para_features(void)
39{
40 return 0;
41}
42
43#endif /* __KERNEL__ */
44
45#endif /* __POWERPC_KVM_PARA_H__ */
This page took 0.221597 seconds and 5 git commands to generate.