]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: asm-offsets: remove MM_CONTEXT_ID
authorMark Rutland <mark.rutland@arm.com>
Mon, 7 Oct 2024 12:39:18 +0000 (13:39 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Tue, 15 Oct 2024 17:42:07 +0000 (18:42 +0100)
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 <mark.rutland@arm.com>
Cc: Will Deacon <will@kernel.org>
Link: https://lore.kernel.org/r/20241007123921.549340-5-mark.rutland@arm.com
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/kernel/asm-offsets.c

index 520914b901a283d0dd82cf19d88a5641fd7cb3f2..e6a6b5160f75e954780b42f61ae64413eda43138 100644 (file)
@@ -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);