]> git.baikalelectronics.ru Git - kernel.git/commit
x86: vdso: Remove bogus locking in update_vsyscall_tz()
authorThomas Gleixner <tglx@linutronix.de>
Tue, 28 Feb 2012 19:46:04 +0000 (19:46 +0000)
committerJohn Stultz <john.stultz@linaro.org>
Fri, 16 Mar 2012 01:17:57 +0000 (18:17 -0700)
commit95a7802beaf8a6514bfc6a7932f753f5b9d2b57a
treecd5fc9a28499a098185878bd186736091e965ab4
parentd586d3d2ac79312f0705ee2d1eae483f7547c524
x86: vdso: Remove bogus locking in update_vsyscall_tz()

Changing the sequence count in update_vsyscall_tz() is completely
pointless.

The vdso code copies the data unprotected. There is no point to change
this as sys_tz is nowhere protected at all. See sys_gettimeofday().

Reviewed-by: Andy Lutomirski <luto@amacapital.net>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: John Stultz <john.stultz@linaro.org>
arch/x86/kernel/vsyscall_64.c