From: Christoph Lameter Date: Tue, 29 Apr 2008 08:03:58 +0000 (-0700) Subject: alpha: use kbuild.h instead of macros in asm-offsets.c X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=26946f4e9b3385f475df094371a016c9d217206a;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git alpha: use kbuild.h instead of macros in asm-offsets.c Use the macros in kbuild.h Signed-off-by: Christoph Lameter Cc: Jay Estabrook Cc: Ivan Kokshaysky Cc: Richard Henderson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/arch/alpha/kernel/asm-offsets.c b/arch/alpha/kernel/asm-offsets.c index 6c56c754a0b5..4b18cd94d59d 100644 --- a/arch/alpha/kernel/asm-offsets.c +++ b/arch/alpha/kernel/asm-offsets.c @@ -8,13 +8,9 @@ #include #include #include +#include #include -#define DEFINE(sym, val) \ - asm volatile("\n->" #sym " %0 " #val : : "i" (val)) - -#define BLANK() asm volatile("\n->" : : ) - void foo(void) { DEFINE(TI_TASK, offsetof(struct thread_info, task));