diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2012-02-28 19:06:50 +0100 |
---|---|---|
committer | Steven Rostedt <rostedt@rostedt.homelinux.com> | 2013-08-16 21:58:21 -0400 |
commit | 46bb0fa0704e7b20127c1920b85d4d1a2e625b7e (patch) | |
tree | a879f3925f61a1dfea5399e7e198724f9fad2ead /kernel/time.c | |
parent | 9f0565a628e6ba3f2bfec883d6298c5c916d435b (diff) | |
download | linux-rt-46bb0fa0704e7b20127c1920b85d4d1a2e625b7e.tar.gz |
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>
Diffstat (limited to 'kernel/time.c')
-rw-r--r-- | kernel/time.c | 6 |
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; } |