diff options
author | Christoph Lameter <clameter@sgi.com> | 2008-04-29 04:04:03 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-29 11:06:29 -0400 |
commit | 5544b9ed81bf1677ad6c3e5b58c05837249805b7 (patch) | |
tree | 28deb0965474ca5650b8d07bc09e0f25fc4a2c3c /arch/blackfin/kernel | |
parent | 40765200b688939a012f5facc87d8ee07c40288b (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')
-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 b56b2741cdea..721f15f3cebf 100644 --- a/arch/blackfin/kernel/asm-offsets.c +++ b/arch/blackfin/kernel/asm-offsets.c | |||
@@ -34,8 +34,7 @@ | |||
34 | #include <linux/hardirq.h> | 34 | #include <linux/hardirq.h> |
35 | #include <linux/irq.h> | 35 | #include <linux/irq.h> |
36 | #include <linux/thread_info.h> | 36 | #include <linux/thread_info.h> |
37 | 37 | #include <linux/kbuild.h> | |
38 | #define DEFINE(sym, val) asm volatile("\n->" #sym " %0 " #val : : "i" (val)) | ||
39 | 38 | ||
40 | int main(void) | 39 | int main(void) |
41 | { | 40 | { |