Thread (6 messages) 6 messages, 4 authors, 2024-11-19

Re: [PATCH] powerpc/vdso: Remove unused clockmode asm offsets

From: Christophe Leroy <hidden>
Date: 2024-11-13 10:20:42
Also in: lkml


Le 13/11/2024 à 09:06, Thomas Weißschuh a écrit :
These offsets are not used anymore, delete them.

Fixes: c39b1dcf055d ("powerpc/vdso: Add a page for non-time data")
Signed-off-by: Thomas Weißschuh <redacted>
Reviewed-by: Christophe Leroy <redacted>
quoted hunk ↗ jump to hunk
---
This is based on powerpc/topic/vdso.
Feel free to fold this change into the original commit.
---
  arch/powerpc/kernel/asm-offsets.c | 2 --
  1 file changed, 2 deletions(-)
diff --git a/arch/powerpc/kernel/asm-offsets.c b/arch/powerpc/kernel/asm-offsets.c
index 7b3feb6bc2103bc89ea14fbaac6937f1c97d4ff8..23733282de4d9f975aa9450b26c1049688e6663e 100644
--- a/arch/powerpc/kernel/asm-offsets.c
+++ b/arch/powerpc/kernel/asm-offsets.c
@@ -346,8 +346,6 @@ int main(void)
  #else
  	OFFSET(CFG_SYSCALL_MAP32, vdso_arch_data, syscall_map);
  #endif
-	OFFSET(VDSO_CLOCKMODE_OFFSET, vdso_arch_data, data[0].clock_mode);
-	DEFINE(VDSO_CLOCKMODE_TIMENS, VDSO_CLOCKMODE_TIMENS);
  
  #ifdef CONFIG_BUG
  	DEFINE(BUG_ENTRY_SIZE, sizeof(struct bug_entry));
---
base-commit: 0161bd38c24312853ed5ae9a425a1c41c4ac674a
change-id: 20241113-vdso-powerpc-asm-offsets-056016f80174

Best regards,
  
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help