]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/powerpc/kernel/asm-offsets.c
ppc/powerpc: use kbuild.h instead of defining macros in asm-offsets.c
[linux-2.6-omap-h63xx.git] / arch / powerpc / kernel / asm-offsets.c
index 62134845af081e529f88ea80820ea3d286a2f0f5..59044e7ed6f46269cc806e37495fdc9a08d635a5 100644 (file)
@@ -30,6 +30,7 @@
 #include <linux/time.h>
 #include <linux/hardirq.h>
 #endif
+#include <linux/kbuild.h>
 
 #include <asm/io.h>
 #include <asm/page.h>
 #include <asm/iseries/alpaca.h>
 #endif
 
-#define DEFINE(sym, val) \
-       asm volatile("\n->" #sym " %0 " #val : : "i" (val))
-
-#define BLANK() asm volatile("\n->" : : )
-
 int main(void)
 {
        DEFINE(THREAD, offsetof(struct task_struct, thread));