]> git.baikalelectronics.ru Git - kernel.git/commit
seqlock: fix raw_read_seqcount_latch()
authorAlexey Dobriyan <adobriyan@gmail.com>
Thu, 26 May 2016 22:16:06 +0000 (15:16 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 26 May 2016 22:35:44 +0000 (15:35 -0700)
commit50755bc1c305340660bbfa65fdae3ed113d8fe0e
tree683afc1d29d24acfa4d4f821dc1f6c30f2359fa6
parentea8ea737c46cffa5d0ee74309f81e55a7e5e9c2a
seqlock: fix raw_read_seqcount_latch()

lockless_dereference() is supposed to take pointer not integer.

Link: http://lkml.kernel.org/r/20160521201448.GA7429@p183.telecom.by
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/seqlock.h