diff options
author | Christoph Lameter <clameter@sgi.com> | 2008-04-29 01:04:05 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-29 08:06:30 -0700 |
commit | d8045b4af69c905a2b44ffffb4a1c13ba85e0867 (patch) | |
tree | ceabf877c404f0dacebe0c6d856f509fd4188ef2 /arch/m68k/kernel/asm-offsets.c | |
parent | 501cd36f9de960f640f15ed37428631167108006 (diff) | |
download | op-kernel-dev-d8045b4af69c905a2b44ffffb4a1c13ba85e0867.zip op-kernel-dev-d8045b4af69c905a2b44ffffb4a1c13ba85e0867.tar.gz |
m68k/m68kmmu: use kbuild.h instead of defining macros in asm-offsets.c
Signed-off-by: Christoph Lameter <clameter@sgi.com>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Roman Zippel <zippel@linux-m68k.org>
Cc: Greg Ungerer <gerg@uclinux.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/m68k/kernel/asm-offsets.c')
-rw-r--r-- | arch/m68k/kernel/asm-offsets.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/m68k/kernel/asm-offsets.c b/arch/m68k/kernel/asm-offsets.c index 246a882..b1f012f 100644 --- a/arch/m68k/kernel/asm-offsets.c +++ b/arch/m68k/kernel/asm-offsets.c @@ -11,14 +11,12 @@ #include <linux/stddef.h> #include <linux/sched.h> #include <linux/kernel_stat.h> +#include <linux/kbuild.h> #include <asm/bootinfo.h> #include <asm/irq.h> #include <asm/amigahw.h> #include <linux/font.h> -#define DEFINE(sym, val) \ - asm volatile("\n->" #sym " %0 " #val : : "i" (val)) - int main(void) { /* offsets into the task struct */ |