diff options
| author | Christoph Lameter <clameter@sgi.com> | 2008-04-29 04:04:00 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-29 11:06:29 -0400 |
| commit | 0fcfbb1d317593d3d713a850bfdb310cc1585ae2 (patch) | |
| tree | 56df2807fc57d53e05d0afad3d9c581102aea6f3 /arch/xtensa/kernel | |
| parent | 02cbe4749a79f880b29ce42bbb5441b8d57222e4 (diff) | |
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.c | 3 |
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 @@ | |||
| 19 | #include <linux/thread_info.h> | 19 | #include <linux/thread_info.h> |
| 20 | #include <linux/ptrace.h> | 20 | #include <linux/ptrace.h> |
| 21 | #include <linux/mm.h> | 21 | #include <linux/mm.h> |
| 22 | #include <linux/kbuild.h> | ||
| 22 | 23 | ||
| 23 | #include <asm/ptrace.h> | 24 | #include <asm/ptrace.h> |
| 24 | #include <asm/uaccess.h> | 25 | #include <asm/uaccess.h> |
| 25 | 26 | ||
| 26 | #define DEFINE(sym, val) asm volatile("\n->" #sym " %0 " #val : : "i" (val)) | ||
| 27 | |||
| 28 | int main(void) | 27 | int main(void) |
| 29 | { | 28 | { |
| 30 | /* struct pt_regs */ | 29 | /* struct pt_regs */ |
