diff options
author | Liu Yu-B13201 <Yu.Liu@freescale.com> | 2012-03-15 06:52:13 -0400 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2012-05-30 05:43:10 -0400 |
commit | 2e1ae9c07df5956ebab19144aa0da58ea37c9f69 (patch) | |
tree | 5ec9b74d22b72af3691897921ca6bce76ea7d4aa /arch/powerpc/include | |
parent | b48b2c3e50433ff6f7e46186daa7f986bd960215 (diff) |
KVM: PPC: Factor out guest epapr initialization
epapr paravirtualization support is now a Kconfig
selectable option
Signed-off-by: Liu Yu <yu.liu@freescale.com>
[stuart.yoder@freescale.com: misc minor fixes, description update]
Signed-off-by: Stuart Yoder <stuart.yoder@freescale.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'arch/powerpc/include')
-rw-r--r-- | arch/powerpc/include/asm/epapr_hcalls.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/epapr_hcalls.h b/arch/powerpc/include/asm/epapr_hcalls.h index 976835d8f22e..bf2c06c33871 100644 --- a/arch/powerpc/include/asm/epapr_hcalls.h +++ b/arch/powerpc/include/asm/epapr_hcalls.h | |||
@@ -153,6 +153,8 @@ | |||
153 | #define EV_HCALL_CLOBBERS2 EV_HCALL_CLOBBERS3, "r5" | 153 | #define EV_HCALL_CLOBBERS2 EV_HCALL_CLOBBERS3, "r5" |
154 | #define EV_HCALL_CLOBBERS1 EV_HCALL_CLOBBERS2, "r4" | 154 | #define EV_HCALL_CLOBBERS1 EV_HCALL_CLOBBERS2, "r4" |
155 | 155 | ||
156 | extern bool epapr_paravirt_enabled; | ||
157 | extern u32 epapr_hypercall_start[]; | ||
156 | 158 | ||
157 | /* | 159 | /* |
158 | * We use "uintptr_t" to define a register because it's guaranteed to be a | 160 | * We use "uintptr_t" to define a register because it's guaranteed to be a |