aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/powerpc/kernel/head_fsl_booke.S4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/head_fsl_booke.S b/arch/powerpc/kernel/head_fsl_booke.S
index a7cf4934342c..725526547994 100644
--- a/arch/powerpc/kernel/head_fsl_booke.S
+++ b/arch/powerpc/kernel/head_fsl_booke.S
@@ -884,13 +884,17 @@ KernelSPE:
884 lwz r3,_MSR(r1) 884 lwz r3,_MSR(r1)
885 oris r3,r3,MSR_SPE@h 885 oris r3,r3,MSR_SPE@h
886 stw r3,_MSR(r1) /* enable use of SPE after return */ 886 stw r3,_MSR(r1) /* enable use of SPE after return */
887#ifdef CONFIG_PRINTK
887 lis r3,87f@h 888 lis r3,87f@h
888 ori r3,r3,87f@l 889 ori r3,r3,87f@l
889 mr r4,r2 /* current */ 890 mr r4,r2 /* current */
890 lwz r5,_NIP(r1) 891 lwz r5,_NIP(r1)
891 bl printk 892 bl printk
893#endif
892 b ret_from_except 894 b ret_from_except
895#ifdef CONFIG_PRINTK
89387: .string "SPE used in kernel (task=%p, pc=%x) \n" 89687: .string "SPE used in kernel (task=%p, pc=%x) \n"
897#endif
894 .align 4,0 898 .align 4,0
895 899
896#endif /* CONFIG_SPE */ 900#endif /* CONFIG_SPE */