From: Mark Rutland Date: Mon, 7 Oct 2024 12:39:18 +0000 (+0100) Subject: arm64: asm-offsets: remove MM_CONTEXT_ID X-Git-Tag: v6.13-rc1~203^2~2^4~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1abc7c1e593337491d27b84a2a0b79c6d8164811;p=thirdparty%2Fkernel%2Flinux.git arm64: asm-offsets: remove MM_CONTEXT_ID The only user of the MM_CONTEXT_ID defintion was removed in commit: 25b92693a1b67a47 ("arm64: mm: convert cpu_do_switch_mm() to C") Remove MM_CONTEXT_ID. Signed-off-by: Mark Rutland Cc: Will Deacon Link: https://lore.kernel.org/r/20241007123921.549340-5-mark.rutland@arm.com Signed-off-by: Catalin Marinas --- diff --git a/arch/arm64/kernel/asm-offsets.c b/arch/arm64/kernel/asm-offsets.c index 520914b901a28..e6a6b5160f75e 100644 --- a/arch/arm64/kernel/asm-offsets.c +++ b/arch/arm64/kernel/asm-offsets.c @@ -96,8 +96,6 @@ int main(void) DEFINE(FREGS_SIZE, sizeof(struct ftrace_regs)); BLANK(); #endif - DEFINE(MM_CONTEXT_ID, offsetof(struct mm_struct, context.id.counter)); - BLANK(); DEFINE(VM_EXEC, VM_EXEC); BLANK(); DEFINE(PAGE_SZ, PAGE_SIZE);