summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/switch_to.h
diff options
context:
space:
mode:
authorBharat Bhushan2013-07-04 08:57:44 +0200
committerScott Wood2013-10-19 01:46:18 +0200
commit3743c9b8ceb638b6e4b78b42f2262e22aa6359f0 (patch)
treecb9ceac93aef5ed982b5791dc56064ab4d1e9da4 /arch/powerpc/include/asm/switch_to.h
parentpowerpc: move debug registers in a structure (diff)
downloadkernel-qcow2-linux-3743c9b8ceb638b6e4b78b42f2262e22aa6359f0.tar.gz
kernel-qcow2-linux-3743c9b8ceb638b6e4b78b42f2262e22aa6359f0.tar.xz
kernel-qcow2-linux-3743c9b8ceb638b6e4b78b42f2262e22aa6359f0.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: Scott Wood <scottwood@freescale.com>
Diffstat (limited to 'arch/powerpc/include/asm/switch_to.h')
-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);