From: Zhen Lei thunder.leizhen@huawei.com
hulk inclusion category: performance bugzilla: https://e.gitee.com/open_euler/issues/list?issue=I4SCW7 CVE: NA
-------------------------------------------------------------------------
This reverts commit 97cb3288a496b6ccff63c8ac69580b67f3dfce60.
The macro 'USER_DS' and related assembly code is deleted by commit 3d2403fd10a1 ("arm64: uaccess: remove set_fs()", so the problem fixed by this patch is disappeared accordingly.
Signed-off-by: Zhen Lei thunder.leizhen@huawei.com Reviewed-by: Jiahao Chen chenjiahao16@huawei.com Reviewed-by: Hanjun Guo guohanjun@huawei.com Signed-off-by: Zheng Zengkai zhengzengkai@huawei.com --- arch/arm64/include/asm/processor.h | 4 ---- 1 file changed, 4 deletions(-)
diff --git a/arch/arm64/include/asm/processor.h b/arch/arm64/include/asm/processor.h index d94d60d01d9e..af8d540430ca 100644 --- a/arch/arm64/include/asm/processor.h +++ b/arch/arm64/include/asm/processor.h @@ -9,12 +9,8 @@ #define __ASM_PROCESSOR_H
#define KERNEL_DS UL(-1) -#ifdef CONFIG_COMPAT #define USER_DS (is_compat_task() ? \ (UL(0x100000000) - 1) : (TASK_SIZE - 1)) -#else -#define USER_DS (TASK_SIZE - 1) -#endif
/* * On arm64 systems, unaligned accesses by the CPU are cheap, and so there is