Skip to content

Commit ee6664d

Browse files
anna-marialxKAGA-KOKO
authored andcommitted
x86/vgtod: Remove unused typedef gtod_long_t
The typedef gtod_long_t is not used anymore so remove it. The header file contains then only includes dependent on CONFIG_GENERIC_GETTIMEOFDAY to not break ARCH=um. Nevertheless, keep the header file only with those includes to prevent spreading ifdeffery all over the place. Signed-off-by: Anna-Maria Behnsen <anna-maria@linutronix.de> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Vincenzo Frascino <vincenzo.frascino@arm.com> Link: https://lore.kernel.org/r/20240701-vdso-cleanup-v1-4-36eb64e7ece2@linutronix.de
1 parent 7239ae7 commit ee6664d

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

arch/x86/include/asm/vgtod.h

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,6 @@
1414

1515
#include <uapi/linux/time.h>
1616

17-
#ifdef BUILD_VDSO32_64
18-
typedef u64 gtod_long_t;
19-
#else
20-
typedef unsigned long gtod_long_t;
21-
#endif
2217
#endif /* CONFIG_GENERIC_GETTIMEOFDAY */
2318

2419
#endif /* _ASM_X86_VGTOD_H */

0 commit comments

Comments
 (0)