Commit 6637775c authored by Qing Zhang's avatar Qing Zhang Committed by Huacai Chen

LoongArch: Fix _CONST64_(x) as unsigned

Addresses should all be of unsigned type to avoid unnecessary conversions.
Signed-off-by: default avatarQing Zhang <zhangqing@loongson.cn>
Signed-off-by: default avatarHuacai Chen <chenhuacai@loongson.cn>
parent 1cf62488
...@@ -71,9 +71,9 @@ extern unsigned long vm_map_base; ...@@ -71,9 +71,9 @@ extern unsigned long vm_map_base;
#define _ATYPE32_ int #define _ATYPE32_ int
#define _ATYPE64_ __s64 #define _ATYPE64_ __s64
#ifdef CONFIG_64BIT #ifdef CONFIG_64BIT
#define _CONST64_(x) x ## L #define _CONST64_(x) x ## UL
#else #else
#define _CONST64_(x) x ## LL #define _CONST64_(x) x ## ULL
#endif #endif
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment