summaryrefslogtreecommitdiffstats
path: root/arch/m68knommu/kernel
diff options
context:
space:
mode:
authorChristoph Lameter <clameter@sgi.com>2008-04-29 10:04:05 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2008-04-29 17:06:30 +0200
commitd8045b4af69c905a2b44ffffb4a1c13ba85e0867 (patch)
treeceabf877c404f0dacebe0c6d856f509fd4188ef2 /arch/m68knommu/kernel
parenth8300: use kbuild.h instead of defining macros in asm-offsets.c (diff)
downloadlinux-d8045b4af69c905a2b44ffffb4a1c13ba85e0867.tar.xz
linux-d8045b4af69c905a2b44ffffb4a1c13ba85e0867.zip
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/m68knommu/kernel')
-rw-r--r--arch/m68knommu/kernel/asm-offsets.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/arch/m68knommu/kernel/asm-offsets.c b/arch/m68knommu/kernel/asm-offsets.c
index d97b89bae53c..fd0c685a7f11 100644
--- a/arch/m68knommu/kernel/asm-offsets.c
+++ b/arch/m68knommu/kernel/asm-offsets.c
@@ -13,15 +13,11 @@
#include <linux/kernel_stat.h>
#include <linux/ptrace.h>
#include <linux/hardirq.h>
+#include <linux/kbuild.h>
#include <asm/bootinfo.h>
#include <asm/irq.h>
#include <asm/thread_info.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 */