[S390] cputime: add sparse checking and cleanup
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Thu, 15 Dec 2011 13:56:09 +0000 (14:56 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Thu, 15 Dec 2011 13:56:19 +0000 (14:56 +0100)
commit648616343cdbe904c585a6c12e323d3b3c72e46f
tree514bce1b52663db4ab5662b637c764cf3c2ed1eb
parent55b02d2f4445ad625213817a1736bf2884d32547
[S390] cputime: add sparse checking and cleanup

Make cputime_t and cputime64_t nocast to enable sparse checking to
detect incorrect use of cputime. Drop the cputime macros for simple
scalar operations. The conversion macros are still needed.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
23 files changed:
arch/ia64/include/asm/cputime.h
arch/powerpc/include/asm/cputime.h
arch/s390/include/asm/cputime.h
drivers/cpufreq/cpufreq_conservative.c
drivers/cpufreq/cpufreq_ondemand.c
drivers/cpufreq/cpufreq_stats.c
drivers/macintosh/rack-meter.c
fs/proc/array.c
fs/proc/stat.c
fs/proc/uptime.c
include/asm-generic/cputime.h
include/linux/sched.h
kernel/acct.c
kernel/cpu.c
kernel/exit.c
kernel/fork.c
kernel/itimer.c
kernel/posix-cpu-timers.c
kernel/sched.c
kernel/sched_stats.h
kernel/signal.c
kernel/sys.c
kernel/tsacct.c