seqcount: Provide raw_read_seqcount()
authorThomas Gleixner <tglx@linutronix.de>
Wed, 16 Jul 2014 21:05:20 +0000 (21:05 +0000)
committerJohn Stultz <john.stultz@linaro.org>
Wed, 23 Jul 2014 22:01:54 +0000 (15:01 -0700)
commit0ea5a520f73ca31abc4c10b6d5bc14a884a0641b
tree8d97283712062b622411281cd5bb7f19e9447689
parent0e5ac3a8b100469ea154f87dd57b685fbdd356f6
seqcount: Provide raw_read_seqcount()

raw_read_seqcount opens a read critical section of the given seqcount
without any lockdep checking and without checking or masking the
LSB. Calling code is responsible for handling that.

Preparatory patch to provide a NMI safe clock monotonic accessor
function.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: John Stultz <john.stultz@linaro.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: John Stultz <john.stultz@linaro.org>
include/linux/seqlock.h