OSDN Git Service

m68k/m68kmmu: use kbuild.h instead of defining macros in asm-offsets.c
[uclinux-h8/linux.git] / arch / m68k / kernel / asm-offsets.c
index 246a882..b1f012f 100644 (file)
 #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 */