summaryrefslogtreecommitdiffstats
path: root/arch/xtensa/kernel/head.S
diff options
context:
space:
mode:
authorMax Filippov <jcmvbkbc@gmail.com>2019-08-30 11:16:06 -0700
committerMax Filippov <jcmvbkbc@gmail.com>2019-09-01 13:11:57 -0700
commit9e1e41c44782741c727688a19e5624d039b0de7e (patch)
tree9f1488391e773c02cd3273ee27591fc0b5bd775f /arch/xtensa/kernel/head.S
parentf348f5c232408cb44451cc5ba52a4b326b6034da (diff)
downloadlinux-9e1e41c44782741c727688a19e5624d039b0de7e.tar.gz
linux-9e1e41c44782741c727688a19e5624d039b0de7e.tar.bz2
linux-9e1e41c44782741c727688a19e5624d039b0de7e.zip
xtensa: clean up PS_WOE_BIT usage
PS_WOE_BIT is mainly used to generate PS.WOE mask in the code. Introduce PS_WOE_MASK macro and use it instead. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'arch/xtensa/kernel/head.S')
-rw-r--r--arch/xtensa/kernel/head.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/xtensa/kernel/head.S b/arch/xtensa/kernel/head.S
index 7f009719304e..4ae998b5a348 100644
--- a/arch/xtensa/kernel/head.S
+++ b/arch/xtensa/kernel/head.S
@@ -193,7 +193,7 @@ ENTRY(_startup)
movi a1, start_info
l32i a1, a1, 0
- movi a2, (1 << PS_WOE_BIT) | LOCKLEVEL
+ movi a2, PS_WOE_MASK | LOCKLEVEL
# WOE=1, INTLEVEL=LOCKLEVEL, UM=0
wsr a2, ps # (enable reg-windows; progmode stack)
rsync