From: Randolph Chung Date: Tue, 12 Jun 2007 06:27:32 +0000 (+0800) Subject: [PARISC] Fix unwinder on 64-bit kernels X-Git-Tag: v2.6.22-rc6~42^2~1 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e036306aa1832963cd147849b282259a32f5ac08;p=linux-2.6 [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 Signed-off-by: Kyle McMartin --- diff --git a/arch/parisc/kernel/unwind.c b/arch/parisc/kernel/unwind.c index e70f57e276..cad9d78312 100644 --- a/arch/parisc/kernel/unwind.c +++ b/arch/parisc/kernel/unwind.c @@ -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[]; diff --git a/include/asm-parisc/system.h b/include/asm-parisc/system.h index 7e9afa720d..21fbfc5afd 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) # define __lock_aligned __attribute__((__section__(".data.lock_aligned"))) #endif -#define KERNEL_START (0x10100000 - 0x1000) #define arch_align_stack(x) (x) #endif