source code of Linux source code
Go to file
Thomas Gleixner 2456e85535 ktime: Get rid of the union
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>
2016-12-25 17:21:22 +01:00
Documentation
arch
block
certs
crypto
drivers ktime: Get rid of the union 2016-12-25 17:21:22 +01:00
firmware
fs ktime: Get rid of the union 2016-12-25 17:21:22 +01:00
include ktime: Get rid of the union 2016-12-25 17:21:22 +01:00
init
ipc
kernel ktime: Get rid of the union 2016-12-25 17:21:22 +01:00
lib ktime: Get rid of the union 2016-12-25 17:21:22 +01:00
mm
net ktime: Get rid of the union 2016-12-25 17:21:22 +01:00
samples
scripts
security
sound ktime: Get rid of the union 2016-12-25 17:21:22 +01:00
tools
usr
virt
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS
Makefile
README

README

Linux kernel
============

This file was moved to Documentation/admin-guide/README.rst

Please notice that there are several guides for kernel developers and users.
These guides can be rendered in a number of formats, like HTML and PDF.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.
See Documentation/00-INDEX for a list of what is contained in each file.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.