diff mbox series

[4/7] arm64: asm-offsets: remove MM_CONTEXT_ID

Message ID 20241007123921.549340-5-mark.rutland@arm.com (mailing list archive)
State New, archived
Headers show
Series arm64: asm-offsets: clenups | expand

Commit Message

Mark Rutland Oct. 7, 2024, 12:39 p.m. UTC
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: Catalin Marinas <catalin.marinas@arm.com>
Cc: Will Deacon <will@kernel.org>
---
 arch/arm64/kernel/asm-offsets.c | 2 --
 1 file changed, 2 deletions(-)
diff mbox series

Patch

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);