diff options
author | Max Filippov <jcmvbkbc@gmail.com> | 2019-08-30 11:16:06 -0700 |
---|---|---|
committer | Max Filippov <jcmvbkbc@gmail.com> | 2019-09-01 13:11:57 -0700 |
commit | 9e1e41c44782741c727688a19e5624d039b0de7e (patch) | |
tree | 9f1488391e773c02cd3273ee27591fc0b5bd775f /arch/xtensa/include/asm/regs.h | |
parent | f348f5c232408cb44451cc5ba52a4b326b6034da (diff) | |
download | linux-9e1e41c44782741c727688a19e5624d039b0de7e.tar.bz2 |
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/regs.h')
-rw-r--r-- | arch/xtensa/include/asm/regs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/xtensa/include/asm/regs.h b/arch/xtensa/include/asm/regs.h index 477594e5817f..ce184e7dee91 100644 --- a/arch/xtensa/include/asm/regs.h +++ b/arch/xtensa/include/asm/regs.h @@ -81,6 +81,7 @@ /* PS register fields. */ #define PS_WOE_BIT 18 +#define PS_WOE_MASK 0x00040000 #define PS_CALLINC_SHIFT 16 #define PS_CALLINC_MASK 0x00030000 #define PS_OWB_SHIFT 8 |