Use _AC and UL macros from linux/const.h
[oweals/u-boot.git] / arch / riscv / include / asm / csr.h
index 50fccea5c8f9fafb2b456ac2cd1403d21b08c9d1..29624fdbb555490791a57d0e3092c5ff51603748 100644 (file)
@@ -8,6 +8,8 @@
 #ifndef _ASM_RISCV_CSR_H
 #define _ASM_RISCV_CSR_H
 
+#include <linux/const.h>
+
 /* Status register flags */
 #define SR_SIE         _AC(0x00000002, UL) /* Supervisor Interrupt Enable */
 #define SR_SPIE                _AC(0x00000020, UL) /* Previous Supervisor IE */