summaryrefslogtreecommitdiff
path: root/core/nds32/cpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/nds32/cpu.h')
-rw-r--r--core/nds32/cpu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/nds32/cpu.h b/core/nds32/cpu.h
index f5e4353cc3..f81bbbdc03 100644
--- a/core/nds32/cpu.h
+++ b/core/nds32/cpu.h
@@ -11,7 +11,7 @@
#include <stdint.h>
/* Process Status Word bits */
-#define PSW_GIE (1 << 0) /* Global Interrupt Enable */
+#define PSW_GIE BIT(0) /* Global Interrupt Enable */
#define PSW_INTL_SHIFT 1 /* Interrupt Stack Level */
#define PSW_INTL_MASK (0x3 << PSW_INTL_SHIFT)