git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
powerpc: Add support for context switching the TAR register
[sfrench/cifs-2.6.git]
/
arch
/
powerpc
/
kernel
/
cpu_setup_power.S
diff --git
a/arch/powerpc/kernel/cpu_setup_power.S
b/arch/powerpc/kernel/cpu_setup_power.S
index 57cf14065aecfd261269e21b428d8aba4f4856f4..d29facbf9a288490a7552331e498eea259eb713f 100644
(file)
--- a/
arch/powerpc/kernel/cpu_setup_power.S
+++ b/
arch/powerpc/kernel/cpu_setup_power.S
@@
-56,6
+56,7
@@
_GLOBAL(__setup_cpu_power8)
mfspr r3,SPRN_LPCR
oris r3, r3, LPCR_AIL_3@h
bl __init_LPCR
+ bl __init_FSCR
bl __init_TLB
mtlr r11
blr
@@
-112,6
+113,12
@@
__init_LPCR:
isync
blr
+__init_FSCR:
+ mfspr r3,SPRN_FSCR
+ ori r3,r3,FSCR_TAR
+ mtspr SPRN_FSCR,r3
+ blr
+
__init_TLB:
/* Clear the TLB */
li r6,128