aboutsummaryrefslogtreecommitdiff
path: root/arch/openrisc/kernel
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2012-12-18 10:08:47 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2012-12-18 10:08:47 -0800
commit9a8a5702c5a7298c0edd125464aa178dd8b50440 (patch)
tree9d8aab6f2670e23f8517f44c5a79c3127e2eb5c2 /arch/openrisc/kernel
parent7b077868cb8bc31aa5a0dad961ecc9f157bff744 (diff)
parent634bd40a894d64df09ba36c12bb6e70787989ba9 (diff)
downloadlinux-9a8a5702c5a7298c0edd125464aa178dd8b50440.tar.gz
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/kernel')
-rw-r--r--arch/openrisc/kernel/asm-offsets.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/arch/openrisc/kernel/asm-offsets.c b/arch/openrisc/kernel/asm-offsets.c
index 1a242a0d758..ddb73685586 100644
--- a/arch/openrisc/kernel/asm-offsets.c
+++ b/arch/openrisc/kernel/asm-offsets.c
@@ -34,15 +34,11 @@
#include <linux/mm.h>
#include <linux/io.h>
#include <linux/thread_info.h>
+#include <linux/kbuild.h>
#include <asm/page.h>
#include <asm/pgtable.h>
#include <asm/processor.h>
-#define DEFINE(sym, val) \
- asm volatile("\n->" #sym " %0 " #val : : "i" (val))
-
-#define BLANK() asm volatile("\n->" : : )
-
int main(void)
{
/* offsets into the task_struct */