summaryrefslogtreecommitdiffstats
path: root/arch/blackfin/kernel/asm-offsets.c
diff options
context:
space:
mode:
authorChristoph Lameter <clameter@sgi.com>2008-04-29 01:04:03 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2008-04-29 08:06:29 -0700
commit5544b9ed81bf1677ad6c3e5b58c05837249805b7 (patch)
tree28deb0965474ca5650b8d07bc09e0f25fc4a2c3c /arch/blackfin/kernel/asm-offsets.c
parent40765200b688939a012f5facc87d8ee07c40288b (diff)
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>
Diffstat (limited to 'arch/blackfin/kernel/asm-offsets.c')
-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 b56b2741cde..721f15f3ceb 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)
{