summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2012-02-28 20:46:03 +0100
committerJohn Stultz <john.stultz@linaro.org>2012-03-16 02:17:55 +0100
commita4ca1298d8a0472a45624fa5fb99f90f0f367187 (patch)
treef3df2502fdad72c1bd75b1da66565b197cbbfc35
parenttime: Fix change_clocksource locking (diff)
downloadlinux-a4ca1298d8a0472a45624fa5fb99f90f0f367187.tar.xz
linux-a4ca1298d8a0472a45624fa5fb99f90f0f367187.zip
time: Remove bogus comments
There is no global irq lock which makes a syscall magically SMP safe. Remove the outdated comment concerning do_settimeofday() as well. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: John Stultz <john.stultz@linaro.org>
-rw-r--r--kernel/time.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/kernel/time.c b/kernel/time.c
index 73e416db0a1e..ba744cf80696 100644
--- a/kernel/time.c
+++ b/kernel/time.c
@@ -163,7 +163,6 @@ int do_sys_settimeofday(const struct timespec *tv, const struct timezone *tz)
return error;
if (tz) {
- /* SMP safe, global irq locking makes it work. */
sys_tz = *tz;
update_vsyscall_tz();
if (firsttime) {
@@ -173,12 +172,7 @@ int do_sys_settimeofday(const struct timespec *tv, const struct timezone *tz)
}
}
if (tv)
- {
- /* SMP safe, again the code in arch/foo/time.c should
- * globally block out interrupts when it runs.
- */
return do_settimeofday(tv);
- }
return 0;
}