Skip to content

Commit

Permalink
[PARISC] Fix unwinder on 64-bit kernels
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Randolph Chung authored and Kyle McMartin committed Jun 21, 2007
1 parent 06b32f3 commit e036306
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions arch/parisc/kernel/unwind.c
Original file line number Diff line number Diff line change
Expand Up @@ -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[];

Expand Down
1 change: 0 additions & 1 deletion include/asm-parisc/system.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit e036306

Please sign in to comment.