summaryrefslogtreecommitdiff
path: root/arch/xtensa/kernel
diff options
context:
space:
mode:
authorChristoph Lameter <clameter@sgi.com>2008-04-29 12:04:00 +0400
committerLinus Torvalds <torvalds@linux-foundation.org>2008-04-29 19:06:29 +0400
commit0fcfbb1d317593d3d713a850bfdb310cc1585ae2 (patch)
tree56df2807fc57d53e05d0afad3d9c581102aea6f3 /arch/xtensa/kernel
parent02cbe4749a79f880b29ce42bbb5441b8d57222e4 (diff)
downloadlinux-0fcfbb1d317593d3d713a850bfdb310cc1585ae2.tar.xz
xtensa: use kbuild.h macros instead of defining them in asm-offsets.c
Signed-off-by: Christoph Lameter <clameter@sgi.com> Cc: Chris Zankel <chris@zankel.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/xtensa/kernel')
-rw-r--r--arch/xtensa/kernel/asm-offsets.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/xtensa/kernel/asm-offsets.c b/arch/xtensa/kernel/asm-offsets.c
index ef63adadf7f4..070ff8af3a21 100644
--- a/arch/xtensa/kernel/asm-offsets.c
+++ b/arch/xtensa/kernel/asm-offsets.c
@@ -19,12 +19,11 @@
#include <linux/thread_info.h>
#include <linux/ptrace.h>
#include <linux/mm.h>
+#include <linux/kbuild.h>
#include <asm/ptrace.h>
#include <asm/uaccess.h>
-#define DEFINE(sym, val) asm volatile("\n->" #sym " %0 " #val : : "i" (val))
-
int main(void)
{
/* struct pt_regs */