aboutsummaryrefslogtreecommitdiff
path: root/arch/sparc/kernel/asm-offsets.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sparc/kernel/asm-offsets.c')
-rw-r--r--arch/sparc/kernel/asm-offsets.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/arch/sparc/kernel/asm-offsets.c b/arch/sparc/kernel/asm-offsets.c
index 6773ed76e41..cd3f7694e9b 100644
--- a/arch/sparc/kernel/asm-offsets.c
+++ b/arch/sparc/kernel/asm-offsets.c
@@ -12,11 +12,7 @@
#include <linux/sched.h>
// #include <linux/mm.h>
-
-#define DEFINE(sym, val) \
- asm volatile("\n->" #sym " %0 " #val : : "i" (val))
-
-#define BLANK() asm volatile("\n->" : : )
+#include <linux/kbuild.h>
int foo(void)
{