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:
Qing Zhang 2023-04-18 19:38:58 +08:00 committed by Huacai Chen
parent 1cf62488f5
commit 6637775ca3

View File

@ -71,9 +71,9 @@ extern unsigned long vm_map_base;
#define _ATYPE32_ int
#define _ATYPE64_ __s64
#ifdef CONFIG_64BIT
#define _CONST64_(x) x ## L
#define _CONST64_(x) x ## UL
#else
#define _CONST64_(x) x ## LL
#define _CONST64_(x) x ## ULL
#endif
#endif