aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRandolph Chung <tausq@debian.org>2007-06-12 02:27:32 -0400
committerKyle McMartin <kyle@minerva.i.cabal.ca>2007-06-21 17:46:21 -0400
commite036306aa1832963cd147849b282259a32f5ac08 (patch)
tree6490e81ec646cfda8791b134f1e6ce703b812d03
parent06b32f3ab6df4c7489729f94bdc7093c72681d4b (diff)
[PARISC] Fix unwinder on 64-bit kernels
The unwinder was broken by the shift of PAGE_OFFSET in order to increase the size of the vmalloc area on 64-bit kernels. Signed-off-by: Randolph Chung <tausq@debian.org> Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
-rw-r--r--arch/parisc/kernel/unwind.c2
-rw-r--r--include/asm-parisc/system.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/arch/parisc/kernel/unwind.c b/arch/parisc/kernel/unwind.c
index e70f57e27643..cad9d78312e0 100644
--- a/arch/parisc/kernel/unwind.c
+++ b/arch/parisc/kernel/unwind.c
@@ -26,6 +26,8 @@
26#define dbg(x...) 26#define dbg(x...)
27#endif 27#endif
28 28
29#define KERNEL_START (KERNEL_BINARY_TEXT_START - 0x1000)
30
29extern struct unwind_table_entry __start___unwind[]; 31extern struct unwind_table_entry __start___unwind[];
30extern struct unwind_table_entry __stop___unwind[]; 32extern struct unwind_table_entry __stop___unwind[];
31 33
diff --git a/include/asm-parisc/system.h b/include/asm-parisc/system.h
index 7e9afa720d43..21fbfc5afd02 100644
--- a/include/asm-parisc/system.h
+++ b/include/asm-parisc/system.h
@@ -188,7 +188,6 @@ static inline void set_eiem(unsigned long val)
188# define __lock_aligned __attribute__((__section__(".data.lock_aligned"))) 188# define __lock_aligned __attribute__((__section__(".data.lock_aligned")))
189#endif 189#endif
190 190
191#define KERNEL_START (0x10100000 - 0x1000)
192#define arch_align_stack(x) (x) 191#define arch_align_stack(x) (x)
193 192
194#endif 193#endif