aboutsummaryrefslogtreecommitdiffstats
path: root/arch/xtensa/include/asm/processor.h
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/include/asm/processor.h
parentxtensa: remove free_initrd_mem (diff)
downloadlinux-dev-9e1e41c44782741c727688a19e5624d039b0de7e.tar.xz
linux-dev-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/include/asm/processor.h')
-rw-r--r--arch/xtensa/include/asm/processor.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/xtensa/include/asm/processor.h b/arch/xtensa/include/asm/processor.h
index 19f6b54e358b..0b4efec9e19e 100644
--- a/arch/xtensa/include/asm/processor.h
+++ b/arch/xtensa/include/asm/processor.h
@@ -179,7 +179,7 @@ struct thread_struct {
* Note: We set-up ps as if we did a call4 to the new pc.
* set_thread_state in signal.c depends on it.
*/
-#define USER_PS_VALUE ((1 << PS_WOE_BIT) | \
+#define USER_PS_VALUE (PS_WOE_MASK | \
(1 << PS_CALLINC_SHIFT) | \
(USER_RING << PS_RING_SHIFT) | \
(1 << PS_UM_BIT) | \