Subject: avr32: Use kbuild.h macros instead of defining macros in asm-offsets.c Cc: Haavard Skinnemoen <hskinnemoen@atmel.com> Signed-off-by: Christoph Lameter <clameter@sgi.com> --- 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 <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) {