[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 2/5] linux-user/loongarch64: Remove TARGET_FORCE_SHMLBA
From: |
Richard Henderson |
Subject: |
[PATCH v2 2/5] linux-user/loongarch64: Remove TARGET_FORCE_SHMLBA |
Date: |
Wed, 28 Feb 2024 10:25:15 -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 | 7 -------
1 file changed, 7 deletions(-)
diff --git a/linux-user/loongarch64/target_syscall.h
b/linux-user/loongarch64/target_syscall.h
index 8b5de52124..39f229bb9c 100644
--- a/linux-user/loongarch64/target_syscall.h
+++ b/linux-user/loongarch64/target_syscall.h
@@ -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
--
2.34.1
- [PATCH v2 0/5] linux-user: Rewrite target_shmat, Richard Henderson, 2024/02/28
- [PATCH v2 2/5] linux-user/loongarch64: Remove TARGET_FORCE_SHMLBA,
Richard Henderson <=
- [PATCH v2 1/5] linux-user/x86_64: Handle the vsyscall page in open_self_maps_{2, 4}, Richard Henderson, 2024/02/28
- [PATCH v2 4/5] linux-user: Rewrite target_shmat, Richard Henderson, 2024/02/28
- [PATCH v2 3/5] linux-user: Add strace for shmat, Richard Henderson, 2024/02/28
- [PATCH v2 5/5] tests/tcg: Check that shmat() does not break /proc/self/maps, Richard Henderson, 2024/02/28
- Re: [PATCH v2 0/5] linux-user: Rewrite target_shmat, Richard Purdie, 2024/02/29