]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
uml: use *SEC_PER_*SEC constants
authorJeff Dike <jdike@addtoit.com>
Tue, 16 Oct 2007 08:27:28 +0000 (01:27 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 16 Oct 2007 16:43:08 +0000 (09:43 -0700)
commit1a80521990a0e30e61a92994a009adc52161b070
tree3cf900adf9383ff68fd66cd74cfaf0e0ce483845
parent61b63c556c0877ee6d3832ee641bc427ff4d94d6
uml: use *SEC_PER_*SEC constants

There are various uses of powers of 1000, plus the odd BILLION constant in the
time code.  However, there are perfectly good definitions of *SEC_PER_*SEC in
linux/time.h which can be used instaed.

These are replaced directly in kernel code.  Userspace code imports those
constants as UM_*SEC_PER_*SEC and uses these.

Signed-off-by: Jeff Dike <jdike@linux.intel.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/um/include/common-offsets.h
arch/um/include/os.h
arch/um/kernel/time.c
arch/um/os-Linux/skas/process.c
arch/um/os-Linux/time.c