From: Christoph Lameter Date: Tue, 29 Apr 2008 08:04:12 +0000 (-0700) Subject: sh: use kbuild.h instead of defining macros in asm-offsets.c X-Git-Tag: v2.6.26-rc1~375 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fc1c3a003edb8a6778e64e10ef671a38c76c969e;p=linux-2.6 sh: use kbuild.h instead of defining macros in asm-offsets.c Signed-off-by: Christoph Lameter Cc: Paul Mundt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/arch/sh/kernel/asm-offsets.c b/arch/sh/kernel/asm-offsets.c index dc6725c51a..57cf0e0680 100644 --- a/arch/sh/kernel/asm-offsets.c +++ b/arch/sh/kernel/asm-offsets.c @@ -11,12 +11,9 @@ #include #include #include -#include - -#define DEFINE(sym, val) \ - asm volatile("\n->" #sym " %0 " #val : : "i" (val)) +#include -#define BLANK() asm volatile("\n->" : : ) +#include int main(void) {