diff options
| -rw-r--r-- | arch/openrisc/include/asm/Kbuild | 1 | ||||
| -rw-r--r-- | arch/openrisc/include/uapi/asm/kvm_para.h | 1 | ||||
| -rw-r--r-- | arch/openrisc/kernel/asm-offsets.c | 6 |
3 files changed, 2 insertions, 6 deletions
diff --git a/arch/openrisc/include/asm/Kbuild b/arch/openrisc/include/asm/Kbuild index 8971026e1c63..f20d01d9aaf9 100644 --- a/arch/openrisc/include/asm/Kbuild +++ b/arch/openrisc/include/asm/Kbuild | |||
| @@ -32,6 +32,7 @@ generic-y += ipcbuf.h | |||
| 32 | generic-y += irq_regs.h | 32 | generic-y += irq_regs.h |
| 33 | generic-y += kdebug.h | 33 | generic-y += kdebug.h |
| 34 | generic-y += kmap_types.h | 34 | generic-y += kmap_types.h |
| 35 | generic-y += kvm_para.h | ||
| 35 | generic-y += local.h | 36 | generic-y += local.h |
| 36 | generic-y += mman.h | 37 | generic-y += mman.h |
| 37 | generic-y += module.h | 38 | generic-y += module.h |
diff --git a/arch/openrisc/include/uapi/asm/kvm_para.h b/arch/openrisc/include/uapi/asm/kvm_para.h deleted file mode 100644 index 14fab8f0b957..000000000000 --- a/arch/openrisc/include/uapi/asm/kvm_para.h +++ /dev/null | |||
| @@ -1 +0,0 @@ | |||
| 1 | #include <asm-generic/kvm_para.h> | ||
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 */ |
