Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 #ifndef _ASM_X86_VGTOD_H
0003 #define _ASM_X86_VGTOD_H
0004 
0005 /*
0006  * This check is required to prevent ARCH=um to include
0007  * unwanted headers.
0008  */
0009 #ifdef CONFIG_GENERIC_GETTIMEOFDAY
0010 #include <linux/compiler.h>
0011 #include <asm/clocksource.h>
0012 #include <vdso/datapage.h>
0013 #include <vdso/helpers.h>
0014 
0015 #include <uapi/linux/time.h>
0016 
0017 #ifdef BUILD_VDSO32_64
0018 typedef u64 gtod_long_t;
0019 #else
0020 typedef unsigned long gtod_long_t;
0021 #endif
0022 #endif /* CONFIG_GENERIC_GETTIMEOFDAY */
0023 
0024 #endif /* _ASM_X86_VGTOD_H */