diff options
author | Christoph Lameter <clameter@sgi.com> | 2008-04-29 01:04:03 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-29 08:06:29 -0700 |
commit | 5544b9ed81bf1677ad6c3e5b58c05837249805b7 (patch) | |
tree | 28deb0965474ca5650b8d07bc09e0f25fc4a2c3c /arch/blackfin | |
parent | 40765200b688939a012f5facc87d8ee07c40288b (diff) | |
download | op-kernel-dev-5544b9ed81bf1677ad6c3e5b58c05837249805b7.zip op-kernel-dev-5544b9ed81bf1677ad6c3e5b58c05837249805b7.tar.gz |
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')
-rw-r--r-- | arch/blackfin/kernel/asm-offsets.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/blackfin/kernel/asm-offsets.c b/arch/blackfin/kernel/asm-offsets.c index b56b274..721f15f 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) { |