Subject: arm: Use kbuild.h instead of macros in asm-offsets.c Cc: Russell King Signed-off-by: Christoph Lameter --- arch/arm/kernel/asm-offsets.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) Index: linux-2.6.25-rc8-mm2/arch/arm/kernel/asm-offsets.c =================================================================== --- linux-2.6.25-rc8-mm2.orig/arch/arm/kernel/asm-offsets.c 2008-04-12 19:13:54.827177477 -0700 +++ linux-2.6.25-rc8-mm2/arch/arm/kernel/asm-offsets.c 2008-04-12 19:15:28.140925259 -0700 @@ -16,6 +16,7 @@ #include #include #include +#include /* * Make sure that the compiler and target are compatible. @@ -35,13 +36,6 @@ #error Known good compilers: 3.3 #endif -/* Use marker if you need to separate the values later */ - -#define DEFINE(sym, val) \ - asm volatile("\n->" #sym " %0 " #val : : "i" (val)) - -#define BLANK() asm volatile("\n->" : : ) - int main(void) { DEFINE(TSK_ACTIVE_MM, offsetof(struct task_struct, active_mm));