diff options
Diffstat (limited to 'arch/s390/include/asm/kvm_para.h')
-rw-r--r-- | arch/s390/include/asm/kvm_para.h | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/arch/s390/include/asm/kvm_para.h b/arch/s390/include/asm/kvm_para.h index da44867de60f..e0f842308a68 100644 --- a/arch/s390/include/asm/kvm_para.h +++ b/arch/s390/include/asm/kvm_para.h | |||
@@ -9,12 +9,6 @@ | |||
9 | * | 9 | * |
10 | * Author(s): Christian Borntraeger <borntraeger@de.ibm.com> | 10 | * Author(s): Christian Borntraeger <borntraeger@de.ibm.com> |
11 | */ | 11 | */ |
12 | |||
13 | #ifndef __S390_KVM_PARA_H | ||
14 | #define __S390_KVM_PARA_H | ||
15 | |||
16 | #ifdef __KERNEL__ | ||
17 | |||
18 | /* | 12 | /* |
19 | * Hypercalls for KVM on s390. The calling convention is similar to the | 13 | * Hypercalls for KVM on s390. The calling convention is similar to the |
20 | * s390 ABI, so we use R2-R6 for parameters 1-5. In addition we use R1 | 14 | * s390 ABI, so we use R2-R6 for parameters 1-5. In addition we use R1 |
@@ -29,6 +23,12 @@ | |||
29 | * | 23 | * |
30 | * This work is licensed under the terms of the GNU GPL, version 2. | 24 | * This work is licensed under the terms of the GNU GPL, version 2. |
31 | */ | 25 | */ |
26 | #ifndef __S390_KVM_PARA_H | ||
27 | #define __S390_KVM_PARA_H | ||
28 | |||
29 | #include <uapi/asm/kvm_para.h> | ||
30 | |||
31 | |||
32 | 32 | ||
33 | static inline long kvm_hypercall0(unsigned long nr) | 33 | static inline long kvm_hypercall0(unsigned long nr) |
34 | { | 34 | { |
@@ -154,6 +154,4 @@ static inline bool kvm_check_and_clear_guest_paused(void) | |||
154 | return false; | 154 | return false; |
155 | } | 155 | } |
156 | 156 | ||
157 | #endif | ||
158 | |||
159 | #endif /* __S390_KVM_PARA_H */ | 157 | #endif /* __S390_KVM_PARA_H */ |