]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/avr32/kernel/asm-offsets.c
avr32: use kbuild.h macros instead of defining macros in asm-offsets.c
[linux-2.6-omap-h63xx.git] / arch / avr32 / kernel / asm-offsets.c
index 078cd33f467be29256d3d81f39da48c9df6fb510..e4796c67a831aa930208c736de6722b1a460891b 100644 (file)
@@ -5,14 +5,7 @@
  */
 
 #include <linux/thread_info.h>
-
-#define DEFINE(sym, val) \
-        asm volatile("\n->" #sym " %0 " #val : : "i" (val))
-
-#define BLANK() asm volatile("\n->" : : )
-
-#define OFFSET(sym, str, mem) \
-        DEFINE(sym, offsetof(struct str, mem));
+#include <linux/kbuild.h>
 
 void foo(void)
 {