diff options
Diffstat (limited to 'arch/riscv/include/asm/asm.h')
-rw-r--r-- | arch/riscv/include/asm/asm.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/arch/riscv/include/asm/asm.h b/arch/riscv/include/asm/asm.h index 6cbbb6a68d76..5ad4cb622bed 100644 --- a/arch/riscv/include/asm/asm.h +++ b/arch/riscv/include/asm/asm.h | |||
@@ -58,17 +58,17 @@ | |||
58 | #endif | 58 | #endif |
59 | 59 | ||
60 | #if (__SIZEOF_INT__ == 4) | 60 | #if (__SIZEOF_INT__ == 4) |
61 | #define INT __ASM_STR(.word) | 61 | #define RISCV_INT __ASM_STR(.word) |
62 | #define SZINT __ASM_STR(4) | 62 | #define RISCV_SZINT __ASM_STR(4) |
63 | #define LGINT __ASM_STR(2) | 63 | #define RISCV_LGINT __ASM_STR(2) |
64 | #else | 64 | #else |
65 | #error "Unexpected __SIZEOF_INT__" | 65 | #error "Unexpected __SIZEOF_INT__" |
66 | #endif | 66 | #endif |
67 | 67 | ||
68 | #if (__SIZEOF_SHORT__ == 2) | 68 | #if (__SIZEOF_SHORT__ == 2) |
69 | #define SHORT __ASM_STR(.half) | 69 | #define RISCV_SHORT __ASM_STR(.half) |
70 | #define SZSHORT __ASM_STR(2) | 70 | #define RISCV_SZSHORT __ASM_STR(2) |
71 | #define LGSHORT __ASM_STR(1) | 71 | #define RISCV_LGSHORT __ASM_STR(1) |
72 | #else | 72 | #else |
73 | #error "Unexpected __SIZEOF_SHORT__" | 73 | #error "Unexpected __SIZEOF_SHORT__" |
74 | #endif | 74 | #endif |