locking, include/llist: Use linux/atomic.h instead of asm/cmpxchg.h
authorWill Deacon <will.deacon@arm.com>
Thu, 6 Aug 2015 16:54:43 +0000 (17:54 +0100)
committerIngo Molnar <mingo@kernel.org>
Wed, 12 Aug 2015 09:59:08 +0000 (11:59 +0200)
commitcd074aea9261784e44f292e1132830ec221802c6
treec7f2d541d8c6f0ec75ae9152ed8f895ed3155d99
parent77e430e3e45662b696dc49aa53ea0f7ac63f2574
locking, include/llist: Use linux/atomic.h instead of asm/cmpxchg.h

Including an asm/ header directly is best avoided, so use linux/atomic.h
instead of asm/cmpxchg.h in linux/llist.h.

Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Waiman.Long@hp.com
Cc: paulmck@linux.vnet.ibm.com
Link: http://lkml.kernel.org/r/1438880084-18856-8-git-send-email-will.deacon@arm.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
include/linux/llist.h