Revision 2456e855354415bfaeb7badaa14e11b3e02c8466 authored by Thomas Gleixner on 25 December 2016, 10:38:40 UTC, committed by Thomas Gleixner on 25 December 2016, 16:21:22 UTC
ktime is a union because the initial implementation stored the time in scalar nanoseconds on 64 bit machine and in a endianess optimized timespec variant for 32bit machines. The Y2038 cleanup removed the timespec variant and switched everything to scalar nanoseconds. The union remained, but become completely pointless. Get rid of the union and just keep ktime_t as simple typedef of type s64. The conversion was done with coccinelle and some manual mopping up. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Peter Zijlstra <peterz@infradead.org>
1 parent a5a1d1c
File | Mode | Size |
---|---|---|
Kconfig | -rw-r--r-- | 2.7 KB |
Makefile | -rw-r--r-- | 159 bytes |
af_ipx.c | -rw-r--r-- | 49.6 KB |
ipx_proc.c | -rw-r--r-- | 7.9 KB |
ipx_route.c | -rw-r--r-- | 6.6 KB |
pe2.c | -rw-r--r-- | 731 bytes |
sysctl_net_ipx.c | -rw-r--r-- | 919 bytes |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...