Files
android_kernel_xiaomi_sm8450/arch/sparc/kernel
Arnd Bergmann 1a596398a3 sparc64: add custom adjtimex/clock_adjtime functions
sparc64 is the only architecture on Linux that has a 'timeval'
definition with a 32-bit tv_usec but a 64-bit tv_sec. This causes
problems for sparc32 compat mode when we convert it to use the
new __kernel_timex type that has the same layout as all other
64-bit architectures.

To avoid adding sparc64 specific code into the generic adjtimex
implementation, this adds a wrapper in the sparc64 system call handling
that converts the sparc64 'timex' into the new '__kernel_timex'.

At this point, the two structures are defined to be identical,
but that will change in the next step once we convert sparc32.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2019-02-07 00:13:27 +01:00
..
2008-12-04 09:17:15 -08:00
2017-06-01 09:42:46 -07:00
2016-08-07 23:55:43 -04:00
2018-01-22 08:17:15 -08:00
2018-01-22 08:17:15 -08:00
2018-05-09 06:54:27 +02:00
2018-10-31 08:54:16 -07:00
2018-06-12 16:19:22 -07:00
2015-03-19 18:54:49 -07:00
2013-06-13 22:12:14 +01:00
2018-12-30 08:24:21 +00:00
2017-11-15 14:21:03 +09:00
2018-10-07 22:42:00 -07:00