diff options
Diffstat (limited to 'arch/openrisc/kernel/asm-offsets.c')
-rw-r--r-- | arch/openrisc/kernel/asm-offsets.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/arch/openrisc/kernel/asm-offsets.c b/arch/openrisc/kernel/asm-offsets.c index 1a242a0d7583..ddb736855863 100644 --- a/arch/openrisc/kernel/asm-offsets.c +++ b/arch/openrisc/kernel/asm-offsets.c | |||
@@ -34,15 +34,11 @@ | |||
34 | #include <linux/mm.h> | 34 | #include <linux/mm.h> |
35 | #include <linux/io.h> | 35 | #include <linux/io.h> |
36 | #include <linux/thread_info.h> | 36 | #include <linux/thread_info.h> |
37 | #include <linux/kbuild.h> | ||
37 | #include <asm/page.h> | 38 | #include <asm/page.h> |
38 | #include <asm/pgtable.h> | 39 | #include <asm/pgtable.h> |
39 | #include <asm/processor.h> | 40 | #include <asm/processor.h> |
40 | 41 | ||
41 | #define DEFINE(sym, val) \ | ||
42 | asm volatile("\n->" #sym " %0 " #val : : "i" (val)) | ||
43 | |||
44 | #define BLANK() asm volatile("\n->" : : ) | ||
45 | |||
46 | int main(void) | 42 | int main(void) |
47 | { | 43 | { |
48 | /* offsets into the task_struct */ | 44 | /* offsets into the task_struct */ |