Subject: Use kbuild.h instead of defining macros in asm-offsets.c s390 has a strange marker in DEFINE. Undefine the DEFINE from kbuild.h and define it the way s390 wants it to preserve things as they were. May be good if the arch maintainer could go over this and check if this workaround is really necessary. Cc: schwidefsky@de.ibm.com Signed-off-by: Christoph Lameter --- arch/s390/kernel/asm-offsets.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) Index: linux-2.6.25-rc8-mm2/arch/s390/kernel/asm-offsets.c =================================================================== --- linux-2.6.25-rc8-mm2.orig/arch/s390/kernel/asm-offsets.c 2008-04-12 19:39:42.980925439 -0700 +++ linux-2.6.25-rc8-mm2/arch/s390/kernel/asm-offsets.c 2008-04-12 19:41:36.617183993 -0700 @@ -5,14 +5,13 @@ */ #include +#include /* 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),);