Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 297250
b: refs/heads/master
c: 3448427
h: refs/heads/master
v: v3
  • Loading branch information
David Howells committed Mar 28, 2012
1 parent 9182aab commit ba1d8bb
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f9aa7e1882f3ceec919b30f64a2ce6e66a2571b1
refs/heads/master: 34484277b173d0af1bb00532a264940b57920429
2 changes: 2 additions & 0 deletions trunk/include/asm-generic/atomic.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
#ifndef __ASM_GENERIC_ATOMIC_H
#define __ASM_GENERIC_ATOMIC_H

#include <asm/cmpxchg.h>

#ifdef CONFIG_SMP
/* Force people to define core atomics */
# if !defined(atomic_add_return) || !defined(atomic_sub_return) || \
Expand Down
2 changes: 2 additions & 0 deletions trunk/include/asm-generic/cmpxchg.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
#error "Cannot use generic cmpxchg on SMP"
#endif

#include <asm-generic/cmpxchg-local.h>

/*
* Atomic compare and exchange.
*
Expand Down
1 change: 0 additions & 1 deletion trunk/include/asm-generic/system.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
#include <linux/types.h>
#include <linux/irqflags.h>

#include <asm/cmpxchg-local.h>
#include <asm/cmpxchg.h>

struct task_struct;
Expand Down

0 comments on commit ba1d8bb

Please sign in to comment.