arm64: vdso: remove broken, redundant sequence counting for timezones
authorWill Deacon <will.deacon@arm.com>
Mon, 7 Jan 2013 16:12:31 +0000 (16:12 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Thu, 10 Jan 2013 10:43:43 +0000 (10:43 +0000)
commitbdba0051ebcb3c6372f9cc0b2524c47cc6ce46fd
tree38efe063fe3fc5516e3a372a5d7908a9a5f2bf5d
parent9931faca02c604c22335f5a935a501bb2ace6e20
arm64: vdso: remove broken, redundant sequence counting for timezones

This patch is an arm64 version of ce73ec6db47a ("powerpc/vdso: Remove
redundant locking in update_vsyscall_tz()").

Timezone data is not protected, so the sequence counter is not required
to ensure consistency. Furthermore, having multiple paths updating the
counter leads to a race between update_vsyscall and update_vsyscall_tz,
so remove the timezone sequence counting from both the kernel and the
vdso.

Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/kernel/vdso.c
arch/arm64/kernel/vdso/gettimeofday.S