diff options
author | Greentime Hu <greentime@andestech.com> | 2018-04-30 06:32:47 +0300 |
---|---|---|
committer | Greentime Hu <greentime@andestech.com> | 2018-05-23 08:26:21 +0300 |
commit | 8769c223491a7fbb345021e7004cbdffe024eaf8 (patch) | |
tree | 483533114596079b93dddef9db280be4f36ba205 /arch/nds32 | |
parent | 3ff2228dcea4e5c9b517375bd3aa9e3a1a3f29a0 (diff) | |
download | linux-8769c223491a7fbb345021e7004cbdffe024eaf8.tar.xz |
nds32: To refine readability of INT_MASK_INITAIAL_VAL
Refine readability of INT_MASK_INITAIAL_VAL with meaningful macro instead
of magic number.
Signed-off-by: Greentime Hu <greentime@andestech.com>
Diffstat (limited to 'arch/nds32')
-rw-r--r-- | arch/nds32/include/asm/bitfield.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/nds32/include/asm/bitfield.h b/arch/nds32/include/asm/bitfield.h index c73f71d67744..28b7d797fd59 100644 --- a/arch/nds32/include/asm/bitfield.h +++ b/arch/nds32/include/asm/bitfield.h @@ -336,7 +336,7 @@ #define INT_MASK_mskIDIVZE ( 0x1 << INT_MASK_offIDIVZE ) #define INT_MASK_mskDSSIM ( 0x1 << INT_MASK_offDSSIM ) -#define INT_MASK_INITAIAL_VAL 0x10003 +#define INT_MASK_INITAIAL_VAL (INT_MASK_mskDSSIM|INT_MASK_mskIDIVZE) /****************************************************************************** * ir15: INT_PEND (Interrupt Pending Register) |