projects
/
platform
/
kernel
/
linux-stable.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
02cbe47
)
xtensa: use kbuild.h macros instead of defining them in asm-offsets.c
author
Christoph Lameter
<clameter@sgi.com>
Tue, 29 Apr 2008 08:04:00 +0000
(
01:04
-0700)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Tue, 29 Apr 2008 15:06:29 +0000
(08:06 -0700)
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>
arch/xtensa/kernel/asm-offsets.c
patch
|
blob
|
history
diff --git
a/arch/xtensa/kernel/asm-offsets.c
b/arch/xtensa/kernel/asm-offsets.c
index
ef63ada
..
070ff8a
100644
(file)
--- 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 */