]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
blackfin: use kbuild.h instead of defining macros in asm-macros.c
authorChristoph Lameter <clameter@sgi.com>
Tue, 29 Apr 2008 08:04:03 +0000 (01:04 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 29 Apr 2008 15:06:29 +0000 (08:06 -0700)
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>
arch/blackfin/kernel/asm-offsets.c

index b56b2741cdea6746c0a445408c5d40f40786fec5..721f15f3cebf1915d67f2b83ab46574697517155 100644 (file)
@@ -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)
 {