projects/linux·commit fc1c3a00

sh: use kbuild.h instead of defining macros in asm-offsets.c

fc1c3a00 · Christoph Lameter <[email protected]> · 2008-04-29 01:04:12 -07:00

Signed-off-by: Christoph Lameter <[email protected]>
Cc: Paul Mundt <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Commit
fc1c3a003edb8a6778e64e10ef671a38c76c969e
Parents
4ca4d7bf

Changes

1 files changed · +2 −5

FileStatusAddDelContent
arch/sh/kernel/asm-offsets.cmodified+2−5View file

arch/sh/kernel/asm-offsets.c

View file
diff --git a/arch/sh/kernel/asm-offsets.c b/arch/sh/kernel/asm-offsets.c
index dc6725c..57cf0e0 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)
{