]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[S390] cputime: add sparse checking and cleanup
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 9 Nov 2011 13:11:56 +0000 (14:11 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 9 Nov 2011 13:11:58 +0000 (14:11 +0100)
commitc5927fe412bf8c71f2fcf03c33b083a8370b712a
treeb65ff06dc8cbe7a718fc56df17d2c58bdaaac87e
parent19e0bafc36abd84a5b4d7c7745b78a6f4626e944
[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