aboutsummaryrefslogtreecommitdiffstats
path: root/arch/m68k/include
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2014-02-03 04:38:39 -0500
committerGeert Uytterhoeven <geert@linux-m68k.org>2014-02-10 14:10:19 -0500
commit3067bab1cb6e45063c602a731b9341651c4f2ddb (patch)
treec3fa45e213aa8b8273e144d5c734785ea9667211 /arch/m68k/include
parenta18b31dd537f51331b9cd357987a5e807bf3e8d1 (diff)
m68k: Switch to asm-generic/barrier.h
The generic nop() implementation is fine for m68k. Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Acked-by: Greg Ungerer <gerg@uclinux.org>
Diffstat (limited to 'arch/m68k/include')
-rw-r--r--arch/m68k/include/asm/Kbuild1
-rw-r--r--arch/m68k/include/asm/barrier.h8
2 files changed, 1 insertions, 8 deletions
diff --git a/arch/m68k/include/asm/Kbuild b/arch/m68k/include/asm/Kbuild
index df4d46fc321b..6fb9e813a910 100644
--- a/arch/m68k/include/asm/Kbuild
+++ b/arch/m68k/include/asm/Kbuild
@@ -1,3 +1,4 @@
1generic-y += barrier.h
1generic-y += bitsperlong.h 2generic-y += bitsperlong.h
2generic-y += clkdev.h 3generic-y += clkdev.h
3generic-y += cputime.h 4generic-y += cputime.h
diff --git a/arch/m68k/include/asm/barrier.h b/arch/m68k/include/asm/barrier.h
deleted file mode 100644
index 15c5f77c1614..000000000000
--- a/arch/m68k/include/asm/barrier.h
+++ /dev/null
@@ -1,8 +0,0 @@
1#ifndef _M68K_BARRIER_H
2#define _M68K_BARRIER_H
3
4#define nop() do { asm volatile ("nop"); barrier(); } while (0)
5
6#include <asm-generic/barrier.h>
7
8#endif /* _M68K_BARRIER_H */