time: Correct the *settime* parameters
authorRichard Cochran <richard.cochran@omicron.at>
Tue, 1 Feb 2011 13:50:58 +0000 (13:50 +0000)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 2 Feb 2011 14:28:11 +0000 (15:28 +0100)
commit1e6d767924c74929c0cfe839ae8f37bcee9e544e
tree4ace06971e2b3519e556bea2f7e3e999e860eedd
parent7cf37e87dd2cfa17a64f28ea7f31eed4525f79e4
time: Correct the *settime* parameters

Both settimeofday() and clock_settime() promise with a 'const'
attribute not to alter the arguments passed in. This patch adds the
missing 'const' attribute into the various kernel functions
implementing these calls.

Signed-off-by: Richard Cochran <richard.cochran@omicron.at>
Acked-by: John Stultz <johnstul@us.ibm.com>
LKML-Reference: <20110201134417.545698637@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
drivers/char/mmtimer.c
include/linux/posix-timers.h
include/linux/security.h
include/linux/time.h
kernel/posix-timers.c
kernel/time.c
kernel/time/timekeeping.c
security/commoncap.c
security/security.c