From f733f119e9b31088063652a7ad16963d85cb73dd Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Sat, 25 Feb 2023 15:52:56 +0800 Subject: LoongArch: Use la.pcrel instead of la.abs when it's trivially possible Let's start to kill la.abs in preparation for the subsequent support of the PIE kernel. BTW, Re-tab the indention in arch/loongarch/kernel/entry.S for alignment. Signed-off-by: Xi Ruoyao Signed-off-by: Huacai Chen --- arch/loongarch/include/asm/uaccess.h | 1 - 1 file changed, 1 deletion(-) (limited to 'arch/loongarch/include/asm/uaccess.h') diff --git a/arch/loongarch/include/asm/uaccess.h b/arch/loongarch/include/asm/uaccess.h index 255899d4a7c3..0d22991ae430 100644 --- a/arch/loongarch/include/asm/uaccess.h +++ b/arch/loongarch/include/asm/uaccess.h @@ -22,7 +22,6 @@ extern u64 __ua_limit; #define __UA_ADDR ".dword" -#define __UA_LA "la.abs" #define __UA_LIMIT __ua_limit /* -- cgit v1.2.3