]> err.no Git - linux-2.6/commitdiff
[PARISC] Fix unwinder on 64-bit kernels
authorRandolph Chung <tausq@debian.org>
Tue, 12 Jun 2007 06:27:32 +0000 (14:27 +0800)
committerKyle McMartin <kyle@minerva.i.cabal.ca>
Thu, 21 Jun 2007 21:46:21 +0000 (17:46 -0400)
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>
arch/parisc/kernel/unwind.c
include/asm-parisc/system.h

index e70f57e27643a0743254cfbf793c4b575b6a415c..cad9d78312e00f6bd121146feceeb238a4fd9e86 100644 (file)
@@ -26,6 +26,8 @@
 #define dbg(x...)
 #endif
 
+#define KERNEL_START (KERNEL_BINARY_TEXT_START - 0x1000)
+
 extern struct unwind_table_entry __start___unwind[];
 extern struct unwind_table_entry __stop___unwind[];
 
index 7e9afa720d4389b31e5a4fc1e1164ec23df5def0..21fbfc5afd027a2ca6dc5e6ea7ad4415cfe03d1f 100644 (file)
@@ -188,7 +188,6 @@ static inline void set_eiem(unsigned long val)
 # define __lock_aligned __attribute__((__section__(".data.lock_aligned")))
 #endif
 
-#define KERNEL_START (0x10100000 - 0x1000)
 #define arch_align_stack(x) (x)
 
 #endif