diff options
author | Will Deacon <[email protected]> | 2015-08-06 17:54:43 +0100 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2015-08-12 11:59:08 +0200 |
commit | cd074aea9261784e44f292e1132830ec221802c6 (patch) | |
tree | c7f2d541d8c6f0ec75ae9152ed8f895ed3155d99 | |
parent | 77e430e3e45662b696dc49aa53ea0f7ac63f2574 (diff) |
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 <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: [email protected]
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
-rw-r--r-- | include/linux/llist.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/llist.h b/include/linux/llist.h index fbf10a0bc095..fd4ca0b4fe0f 100644 --- a/include/linux/llist.h +++ b/include/linux/llist.h @@ -55,8 +55,8 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ +#include <linux/atomic.h> #include <linux/kernel.h> -#include <asm/cmpxchg.h> struct llist_head { struct llist_node *first; |