Skip to content

Commit

Permalink
linux-user/loongarch64: Remove TARGET_FORCE_SHMLBA
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
rth7680 committed Mar 1, 2024
1 parent 4ef1f55 commit 01a7211
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions linux-user/loongarch64/target_syscall.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 01a7211

Please sign in to comment.