]> git.karo-electronics.de Git - linux-beck.git/commit
tile: vdso: use raw_read_seqcount_begin() in vdso
authorChris Metcalf <cmetcalf@ezchip.com>
Thu, 4 Jun 2015 17:28:16 +0000 (13:28 -0400)
committerChris Metcalf <cmetcalf@ezchip.com>
Thu, 4 Jun 2015 17:31:27 +0000 (13:31 -0400)
commit9ae4d6bf228ec7f338e8220babb87ee4fae10429
tree5ee1281043a6ec65db12fe56bd39780db8f2bd27
parent41dd496c8d9f622efff2c3b92ee308e13f58f639
tile: vdso: use raw_read_seqcount_begin() in vdso

Previously we were using read_seqcount_begin(), which works fine until
lockdep is enabled in the kernel, at which point lockdep locking shows
up in the vdso and userspace will take a GPV accessing a kernel-only
SPR when calling gettimeofday() etc.

Signed-off-by: Chris Metcalf <cmetcalf@ezchip.com>
arch/tile/kernel/vdso/vgettimeofday.c