summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristoph Lameter <clameter@sgi.com>2008-04-29 10:04:03 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2008-04-29 17:06:29 +0200
commit5544b9ed81bf1677ad6c3e5b58c05837249805b7 (patch)
tree28deb0965474ca5650b8d07bc09e0f25fc4a2c3c
parentavr32: use kbuild.h macros instead of defining macros in asm-offsets.c (diff)
downloadlinux-5544b9ed81bf1677ad6c3e5b58c05837249805b7.tar.xz
linux-5544b9ed81bf1677ad6c3e5b58c05837249805b7.zip
blackfin: use kbuild.h instead of defining macros in asm-macros.c
Signed-off-by: Christoph Lameter <clameter@sgi.com> Cc: Bryan Wu <bryan.wu@analog.com> Cc: Mike Frysinger <vapier.adi@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--arch/blackfin/kernel/asm-offsets.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/blackfin/kernel/asm-offsets.c b/arch/blackfin/kernel/asm-offsets.c
index b56b2741cdea..721f15f3cebf 100644
--- a/arch/blackfin/kernel/asm-offsets.c
+++ b/arch/blackfin/kernel/asm-offsets.c
@@ -34,8 +34,7 @@
#include <linux/hardirq.h>
#include <linux/irq.h>
#include <linux/thread_info.h>
-
-#define DEFINE(sym, val) asm volatile("\n->" #sym " %0 " #val : : "i" (val))
+#include <linux/kbuild.h>
int main(void)
{