-
- Downloads
time: make adjtime compat handling available for 32 bit
We want to reuse the compat_timex handling on 32-bit architectures the
same way we are using the compat handling for timespec when moving to
64-bit time_t.
Move all definitions related to compat_timex out of the compat code
into the normal timekeeping code, along with a rename to old_timex32,
corresponding to the timespec/timeval structures, and make it controlled
by CONFIG_COMPAT_32BIT_TIME, which 32-bit architectures will then select.
Signed-off-by:
Arnd Bergmann <arnd@arndb.de>
Showing
- include/linux/compat.h 2 additions, 33 deletionsinclude/linux/compat.h
- include/linux/time32.h 31 additions, 1 deletioninclude/linux/time32.h
- kernel/compat.c 0 additions, 64 deletionskernel/compat.c
- kernel/time/posix-timers.c 3 additions, 11 deletionskernel/time/posix-timers.c
- kernel/time/time.c 66 additions, 4 deletionskernel/time/time.c
Loading
Please register or sign in to comment