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>
This commit is contained in:
Christoph Lameter 2008-04-29 01:04:03 -07:00 committed by Linus Torvalds
parent 40765200b6
commit 5544b9ed81

View file

@ -34,8 +34,7 @@
#include <linux/hardirq.h> #include <linux/hardirq.h>
#include <linux/irq.h> #include <linux/irq.h>
#include <linux/thread_info.h> #include <linux/thread_info.h>
#include <linux/kbuild.h>
#define DEFINE(sym, val) asm volatile("\n->" #sym " %0 " #val : : "i" (val))
int main(void) int main(void)
{ {