diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-12-18 13:08:47 -0500 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-12-18 13:08:47 -0500 |
| commit | 9a8a5702c5a7298c0edd125464aa178dd8b50440 (patch) | |
| tree | 9d8aab6f2670e23f8517f44c5a79c3127e2eb5c2 /arch/openrisc | |
| parent | 7b077868cb8bc31aa5a0dad961ecc9f157bff744 (diff) | |
| parent | 634bd40a894d64df09ba36c12bb6e70787989ba9 (diff) | |
Merge tag 'for-3.8' of git://openrisc.net/~jonas/linux
Pull OpenRISC update from Jonas Bonn:
"Trivial cleanups for OpenRISC."
* tag 'for-3.8' of git://openrisc.net/~jonas/linux:
openrisc: use kbuild.h instead of defining macros in asm-offset.c
openrisc: Use Kbuild infrastructure for kvm_para.h
Diffstat (limited to 'arch/openrisc')
| -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 */ |
