Subject: avr32: Use kbuild.h macros instead of defining macros in asm-offsets.c Cc: Haavard Skinnemoen Signed-off-by: Christoph Lameter --- arch/avr32/kernel/asm-offsets.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) Index: linux-2.6.25-rc8-mm2/arch/avr32/kernel/asm-offsets.c =================================================================== --- linux-2.6.25-rc8-mm2.orig/arch/avr32/kernel/asm-offsets.c 2008-04-12 19:24:26.769674591 -0700 +++ linux-2.6.25-rc8-mm2/arch/avr32/kernel/asm-offsets.c 2008-04-12 19:26:44.237176527 -0700 @@ -5,14 +5,7 @@ */ #include - -#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 void foo(void) {