summaryrefslogtreecommitdiff
path: root/arch/powerpc/include/asm/epapr_hcalls.h
diff options
context:
space:
mode:
authorLiu Yu-B13201 <Yu.Liu@freescale.com>2012-03-15 10:52:13 +0000
committerAlexander Graf <agraf@suse.de>2012-05-30 11:43:10 +0200
commit2e1ae9c07df5956ebab19144aa0da58ea37c9f69 (patch)
tree5ec9b74d22b72af3691897921ca6bce76ea7d4aa /arch/powerpc/include/asm/epapr_hcalls.h
parentb48b2c3e50433ff6f7e46186daa7f986bd960215 (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/asm/epapr_hcalls.h')
-rw-r--r--arch/powerpc/include/asm/epapr_hcalls.h2
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 @@
#define EV_HCALL_CLOBBERS2 EV_HCALL_CLOBBERS3, "r5"
#define EV_HCALL_CLOBBERS1 EV_HCALL_CLOBBERS2, "r4"
+extern bool epapr_paravirt_enabled;
+extern u32 epapr_hypercall_start[];
/*
* We use "uintptr_t" to define a register because it's guaranteed to be a