sh: use kbuild.h instead of defining macros in asm-offsets.c
Changes
1 files changed · +2 −5
| File | Status | Add | Del | Content |
|---|---|---|---|---|
| arch/sh/kernel/asm-offsets.c | modified | +2 | −5 | View file |
arch/sh/kernel/asm-offsets.c
View filediff --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)
{