mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00

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
19 lines
422 B
C
19 lines
422 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef _ASM_X86_VGTOD_H
|
|
#define _ASM_X86_VGTOD_H
|
|
|
|
/*
|
|
* This check is required to prevent ARCH=um to include
|
|
* unwanted headers.
|
|
*/
|
|
#ifdef CONFIG_GENERIC_GETTIMEOFDAY
|
|
#include <linux/compiler.h>
|
|
#include <asm/clocksource.h>
|
|
#include <vdso/datapage.h>
|
|
#include <vdso/helpers.h>
|
|
|
|
#include <uapi/linux/time.h>
|
|
|
|
#endif /* CONFIG_GENERIC_GETTIMEOFDAY */
|
|
|
|
#endif /* _ASM_X86_VGTOD_H */
|