Skip to content

Commit

Permalink
tile: revert change from <asm/atomic.h> to <linux/atomic.h> in asm files
Browse files Browse the repository at this point in the history
The 32-bit TILEPro support uses some #defines in <asm/atomic_32.h>
for atomic support routines in assembly.  To make this more explicit,
I've turned those includes into includes of <asm/atomic_32.h>, which
should hopefully make it clear that they shouldn't be bombed into
<linux/atomic.h> in any cleanups.

Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
  • Loading branch information
Chris Metcalf committed Oct 13, 2011
1 parent 976d167 commit d52104b
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion arch/tile/kernel/intvec_32.S
Original file line number Diff line number Diff line change
@@ -21,7 +21,7 @@
#include <asm/ptrace.h>
#include <asm/thread_info.h>
#include <asm/irqflags.h>
#include <linux/atomic.h>
#include <asm/atomic_32.h>
#include <asm/asm-offsets.h>
#include <hv/hypervisor.h>
#include <arch/abi.h>
2 changes: 1 addition & 1 deletion arch/tile/lib/atomic_asm_32.S
Original file line number Diff line number Diff line change
@@ -70,7 +70,7 @@
*/

#include <linux/linkage.h>
#include <linux/atomic.h>
#include <asm/atomic_32.h>
#include <asm/page.h>
#include <asm/processor.h>

0 comments on commit d52104b

Please sign in to comment.