linux-user/loongarch64: Remove TARGET_FORCE_SHMLBA
authorRichard Henderson <richard.henderson@linaro.org>
Thu, 22 Feb 2024 21:32:21 +0000 (11:32 -1000)
committerRichard Henderson <richard.henderson@linaro.org>
Fri, 1 Mar 2024 00:24:30 +0000 (14:24 -1000)
The kernel abi was changed with

    commit d23b77953f5a4fbf94c05157b186aac2a247ae32
    Author: Huacai Chen <chenhuacai@kernel.org>
    Date:   Wed Jan 17 12:43:08 2024 +0800

        LoongArch: Change SHMLBA from SZ_64K to PAGE_SIZE

during the v6.8 cycle.

Reviewed-by: Song Gao <gaosong@loongson.cn>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
linux-user/loongarch64/target_syscall.h

index 8b5de5212435606fc1069ffcc0c49b9509a0660e..39f229bb9c881e3877c30965977f3035ac22d86d 100644 (file)
@@ -38,11 +38,4 @@ struct target_pt_regs {
 #define TARGET_MCL_FUTURE  2
 #define TARGET_MCL_ONFAULT 4
 
-#define TARGET_FORCE_SHMLBA
-
-static inline abi_ulong target_shmlba(CPULoongArchState *env)
-{
-    return 64 * KiB;
-}
-
 #endif