Subject: mn10300: Use kbuild.h instead of defining macros in asm-offsets.c Signed-off-by: Christoph Lameter --- arch/mn10300/kernel/asm-offsets.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) Index: linux-2.6.25-rc8-mm2/arch/mn10300/kernel/asm-offsets.c =================================================================== --- linux-2.6.25-rc8-mm2.orig/arch/mn10300/kernel/asm-offsets.c 2008-04-12 19:33:03.207177417 -0700 +++ linux-2.6.25-rc8-mm2/arch/mn10300/kernel/asm-offsets.c 2008-04-12 19:33:31.057177947 -0700 @@ -7,6 +7,7 @@ #include #include #include +#include #include #include #include @@ -14,14 +15,6 @@ #include "sigframe.h" #include "mn10300-serial.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)); - void foo(void) { OFFSET(SIGCONTEXT_d0, sigcontext, d0);