From: Christoph Lameter Date: Tue, 29 Apr 2008 08:04:01 +0000 (-0700) Subject: sparc: use kbuild.h instead of defining macros in asm-offsets.c X-Git-Tag: firefly_0821_release~20863 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=32b07679b479eee9195870b337b05046f5efedfb;p=firefly-linux-kernel-4.4.55.git sparc: use kbuild.h instead of defining macros in asm-offsets.c Signed-off-by: Christoph Lameter Acked-by: David S. Miller Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/arch/sparc/kernel/asm-offsets.c b/arch/sparc/kernel/asm-offsets.c index 6773ed76e414..cd3f7694e9b9 100644 --- a/arch/sparc/kernel/asm-offsets.c +++ b/arch/sparc/kernel/asm-offsets.c @@ -12,11 +12,7 @@ #include // #include - -#define DEFINE(sym, val) \ - asm volatile("\n->" #sym " %0 " #val : : "i" (val)) - -#define BLANK() asm volatile("\n->" : : ) +#include int foo(void) {