summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include
diff options
context:
space:
mode:
authorBharat Bhushan <r65777@freescale.com>2013-07-04 12:27:44 +0530
committerAlexander Graf <agraf@suse.de>2013-10-17 14:49:39 +0200
commitfc82cf113bded906e0fc1d4a8636a6776670b1c5 (patch)
tree528eb9c1107001d7c4e9b0bf40d8ec557432553e /arch/powerpc/include
parent95791988fec645d196e746fcc0e329e19f7b1347 (diff)
downloadblackbird-op-linux-fc82cf113bded906e0fc1d4a8636a6776670b1c5.tar.gz
blackbird-op-linux-fc82cf113bded906e0fc1d4a8636a6776670b1c5.zip
powerpc: export debug registers save function for KVM
KVM need this function when switching from vcpu to user-space thread. My subsequent patch will use this function. Signed-off-by: Bharat Bhushan <bharat.bhushan@freescale.com> Acked-by: Michael Neuling <mikey@neuling.org> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'arch/powerpc/include')
-rw-r--r--arch/powerpc/include/asm/switch_to.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/switch_to.h b/arch/powerpc/include/asm/switch_to.h
index 2be5618cdec6..9ee12610af02 100644
--- a/arch/powerpc/include/asm/switch_to.h
+++ b/arch/powerpc/include/asm/switch_to.h
@@ -35,6 +35,7 @@ extern void giveup_vsx(struct task_struct *);
extern void enable_kernel_spe(void);
extern void giveup_spe(struct task_struct *);
extern void load_up_spe(struct task_struct *);
+extern void switch_booke_debug_regs(struct thread_struct *new_thread);
#ifndef CONFIG_SMP
extern void discard_lazy_cpu_state(void);
OpenPOWER on IntegriCloud