summaryrefslogtreecommitdiffstats
path: root/arch/sh/kernel
diff options
context:
space:
mode:
authorChristoph Lameter <clameter@sgi.com>2008-04-29 10:04:12 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2008-04-29 17:06:30 +0200
commitfc1c3a003edb8a6778e64e10ef671a38c76c969e (patch)
tree79f431d0dd0c28669ed9a99778d2d2b69e9dd949 /arch/sh/kernel
parents390: use kbuild.h instead of defining macros in asm-offsets.c (diff)
downloadlinux-fc1c3a003edb8a6778e64e10ef671a38c76c969e.tar.xz
linux-fc1c3a003edb8a6778e64e10ef671a38c76c969e.zip
sh: use kbuild.h instead of defining macros in asm-offsets.c
Signed-off-by: Christoph Lameter <clameter@sgi.com> Cc: Paul Mundt <lethal@linux-sh.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/sh/kernel')
-rw-r--r--arch/sh/kernel/asm-offsets.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/arch/sh/kernel/asm-offsets.c b/arch/sh/kernel/asm-offsets.c
index dc6725c51a89..57cf0e0680f3 100644
--- a/arch/sh/kernel/asm-offsets.c
+++ b/arch/sh/kernel/asm-offsets.c
@@ -11,12 +11,9 @@
#include <linux/stddef.h>
#include <linux/types.h>
#include <linux/mm.h>
-#include <asm/thread_info.h>
-
-#define DEFINE(sym, val) \
- asm volatile("\n->" #sym " %0 " #val : : "i" (val))
+#include <linux/kbuild.h>
-#define BLANK() asm volatile("\n->" : : )
+#include <asm/thread_info.h>
int main(void)
{