LoongArch: Fix _CONST64_(x) as unsigned
Addresses should all be of unsigned type to avoid unnecessary conversions. Signed-off-by: Qing Zhang <zhangqing@loongson.cn> Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
This commit is contained in:
parent
1cf62488f5
commit
6637775ca3
@ -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
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user