diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/v850/kernel/asm-offsets.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/arch/v850/kernel/asm-offsets.c b/arch/v850/kernel/asm-offsets.c index cee5c3142d41..581e6986a776 100644 --- a/arch/v850/kernel/asm-offsets.c +++ b/arch/v850/kernel/asm-offsets.c | |||
@@ -13,14 +13,11 @@ | |||
13 | #include <linux/kernel_stat.h> | 13 | #include <linux/kernel_stat.h> |
14 | #include <linux/ptrace.h> | 14 | #include <linux/ptrace.h> |
15 | #include <linux/hardirq.h> | 15 | #include <linux/hardirq.h> |
16 | #include <linux/kbuild.h> | ||
17 | |||
16 | #include <asm/irq.h> | 18 | #include <asm/irq.h> |
17 | #include <asm/errno.h> | 19 | #include <asm/errno.h> |
18 | 20 | ||
19 | #define DEFINE(sym, val) \ | ||
20 | asm volatile("\n->" #sym " %0 " #val : : "i" (val)) | ||
21 | |||
22 | #define BLANK() asm volatile("\n->" : : ) | ||
23 | |||
24 | int main (void) | 21 | int main (void) |
25 | { | 22 | { |
26 | /* offsets into the task struct */ | 23 | /* offsets into the task struct */ |