summaryrefslogtreecommitdiff
path: root/arch/powerpc/include
diff options
context:
space:
mode:
authorBharat Bhushan <r65777@freescale.com>2013-07-04 06:57:44 (GMT)
committerScott Wood <scottwood@freescale.com>2014-04-08 00:10:46 (GMT)
commit3a857b4e3102e7973d0e25d5964d11d1817a83c6 (patch)
tree4cf1b71c3920153d84933e326576487729b47cc4 /arch/powerpc/include
parentac48c32dc77d1fa4df8231924516c4903294ca1a (diff)
downloadlinux-fsl-qoriq-3a857b4e3102e7973d0e25d5964d11d1817a83c6.tar.xz
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> (cherry picked from commit fc82cf113bded906e0fc1d4a8636a6776670b1c5)
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 2be5618..9ee1261 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);