summaryrefslogtreecommitdiff
path: root/arch/powerpc/kernel/entry_64.S
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2013-06-07 22:05:36 (GMT)
committerTony Lindgren <tony@atomide.com>2013-06-07 22:05:36 (GMT)
commit17f545ca1769e268e0190d88ab94dc2a117df280 (patch)
tree34b06d75d4c95823f7dbb0017142e5b59cd88f1b /arch/powerpc/kernel/entry_64.S
parent2d403f7b198163d14a37ab79de33e27e390bb3b1 (diff)
parent8341613afbc8d65bca8c81158edfb49f36b7ad92 (diff)
downloadlinux-fsl-qoriq-17f545ca1769e268e0190d88ab94dc2a117df280.tar.xz
Merge branch 'dts-fixes-for-3.10' of git://git.kernel.org/pub/scm/linux/kernel/git/bcousson/linux-omap-dt into omap-for-v3.10/fixes
Diffstat (limited to 'arch/powerpc/kernel/entry_64.S')
-rw-r--r--arch/powerpc/kernel/entry_64.S7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/entry_64.S b/arch/powerpc/kernel/entry_64.S
index 0e9095e..246b11c 100644
--- a/arch/powerpc/kernel/entry_64.S
+++ b/arch/powerpc/kernel/entry_64.S
@@ -501,6 +501,13 @@ BEGIN_FTR_SECTION
ldarx r6,0,r1
END_FTR_SECTION_IFSET(CPU_FTR_STCX_CHECKS_ADDRESS)
+#ifdef CONFIG_PPC_BOOK3S
+/* Cancel all explict user streams as they will have no use after context
+ * switch and will stop the HW from creating streams itself
+ */
+ DCBT_STOP_ALL_STREAM_IDS(r6)
+#endif
+
addi r6,r4,-THREAD /* Convert THREAD to 'current' */
std r6,PACACURRENT(r13) /* Set new 'current' */