summaryrefslogtreecommitdiff
path: root/include/linux/seqlock.h
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2020-07-29 22:33:16 +1000
committerPeter Zijlstra <peterz@infradead.org>2020-07-29 16:14:19 +0200
commit459e39538e612b8dd130d34b93c9bfc89ecc836c (patch)
treea9e6d6c84d7d4f56b467109a993d8cc0a93bc55f /include/linux/seqlock.h
parent7ca8cf5347f720b07a0b32a924b768f5710547e7 (diff)
locking/qspinlock: Do not include atomic.h from qspinlock_types.h
This patch breaks a header loop involving qspinlock_types.h. The issue is that qspinlock_types.h includes atomic.h, which then eventually includes kernel.h which could lead back to the original file via spinlock_types.h. As ATOMIC_INIT is now defined by linux/types.h, there is no longer any need to include atomic.h from qspinlock_types.h. This also allows the CONFIG_PARAVIRT hack to be removed since it was trying to prevent exactly this loop. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Acked-by: Waiman Long <longman@redhat.com> Link: https://lkml.kernel.org/r/20200729123316.GC7047@gondor.apana.org.au
Diffstat (limited to 'include/linux/seqlock.h')
0 files changed, 0 insertions, 0 deletions