X-Git-Url: http://git.cascardo.eti.br/?a=blobdiff_plain;f=kernel%2Ftime.c;h=ba744cf80696203b65406c7aef8faae3a23048d0;hb=10d31b935f26abbfbe7c929c43c2817e2eaeaa80;hp=d77606214529a9a5c75f549eb999bbdf99342a76;hpb=0791e98dd1cd1833547f814188b25b6c8c711ad5;p=cascardo%2Flinux.git diff --git a/kernel/time.c b/kernel/time.c index d77606214529..ba744cf80696 100644 --- a/kernel/time.c +++ b/kernel/time.c @@ -27,7 +27,7 @@ * with nanosecond accuracy */ -#include +#include #include #include #include @@ -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; }