]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/s390/kernel/asm-offsets.c
s390: use kbuild.h instead of defining macros in asm-offsets.c
[linux-2.6-omap-h63xx.git] / arch / s390 / kernel / asm-offsets.c
index 1375f8a4469e8e89d56fadba47e9992fbcee6963..f7807b81c47463930b2c041ceea6cfa3d0ae8c82 100644 (file)
@@ -5,14 +5,13 @@
  */
 
 #include <linux/sched.h>
+#include <linux/kbuild.h>
 
 /* Use marker if you need to separate the values later */
-
+#undef DEFINE
 #define DEFINE(sym, val, marker) \
        asm volatile("\n->" #sym " %0 " #val " " #marker : : "i" (val))
 
-#define BLANK() asm volatile("\n->" : : )
-
 int main(void)
 {
        DEFINE(__THREAD_info, offsetof(struct task_struct, stack),);