Thread (55 messages) 55 messages, 8 authors, 2025-11-06

Re: [PATCH v4 06/35] powerpc/vdso/gettimeofday: Explicitly include vdso/time32.h

From: Christophe Leroy <hidden>
Date: 2025-10-14 07:50:34
Also in: linux-arm-kernel, linux-kselftest, linux-mips, linux-s390, lkml, loongarch, sparclinux


Le 14/10/2025 à 08:48, Thomas Weißschuh a écrit :
The usage of 'struct old_timespec32' requires vdso/time32.h. Currently
this header is included transitively, but that transitive inclusion is
about to go away.

Explicitly include the header.

Signed-off-by: Thomas Weißschuh <redacted>
Tested-by: Andreas Larsson <andreas@gaisler.com>
Reviewed-by: Andreas Larsson <andreas@gaisler.com>
Reviewed-by: Christophe Leroy <redacted>
quoted hunk ↗ jump to hunk
---
  arch/powerpc/include/asm/vdso/gettimeofday.h | 1 +
  1 file changed, 1 insertion(+)
diff --git a/arch/powerpc/include/asm/vdso/gettimeofday.h b/arch/powerpc/include/asm/vdso/gettimeofday.h
index ab3df12c8d947ed3a5b0b173567ca8469afbf2d6..b2f0e971076acaea8bc70107fc0f5b2d23e0b312 100644
--- a/arch/powerpc/include/asm/vdso/gettimeofday.h
+++ b/arch/powerpc/include/asm/vdso/gettimeofday.h
@@ -8,6 +8,7 @@
  #include <asm/barrier.h>
  #include <asm/unistd.h>
  #include <uapi/linux/time.h>
+#include <vdso/time32.h>
  
  #define VDSO_HAS_CLOCK_GETRES		1
  
  
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help