diff options
author | Christoph Lameter <clameter@sgi.com> | 2008-04-29 01:04:12 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-29 08:06:30 -0700 |
commit | 8972331292753c89dbdd10b175e999ce78dc3be7 (patch) | |
tree | c948eb8f40a08a5bb13cc5d17bddb8352bb521ad /arch/v850/kernel | |
parent | fc1c3a003edb8a6778e64e10ef671a38c76c969e (diff) | |
download | blackbird-op-linux-8972331292753c89dbdd10b175e999ce78dc3be7.tar.gz blackbird-op-linux-8972331292753c89dbdd10b175e999ce78dc3be7.zip |
v850: use kbuild.h instead of defining macros in asm-offsets.c
Signed-off-by: Christoph Lameter <clameter@sgi.com>
Cc: Miles Bader <miles@gnu.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/v850/kernel')
-rw-r--r-- | arch/v850/kernel/asm-offsets.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/arch/v850/kernel/asm-offsets.c b/arch/v850/kernel/asm-offsets.c index cee5c3142d41..581e6986a776 100644 --- a/arch/v850/kernel/asm-offsets.c +++ b/arch/v850/kernel/asm-offsets.c @@ -13,14 +13,11 @@ #include <linux/kernel_stat.h> #include <linux/ptrace.h> #include <linux/hardirq.h> +#include <linux/kbuild.h> + #include <asm/irq.h> #include <asm/errno.h> -#define DEFINE(sym, val) \ - asm volatile("\n->" #sym " %0 " #val : : "i" (val)) - -#define BLANK() asm volatile("\n->" : : ) - int main (void) { /* offsets into the task struct */ |