]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[IA64] Correct unwind validation code
authorKeith Owens <kaos@sgi.com>
Tue, 26 Jun 2007 06:25:22 +0000 (16:25 +1000)
committerTony Luck <tony.luck@intel.com>
Tue, 26 Jun 2007 20:33:10 +0000 (13:33 -0700)
commit66fa9b107e259d01929fe647796b3021d3a83c4a
tree6fe7bde9c86a4d5dffae53ab815b34362eb19571
parent9be26f4c4b138c425598bd3cc50411bd87fce287
[IA64] Correct unwind validation code

Both rp_loc and pfs_loc can be in the register stack area _or_ they can
be in the memory stack area, the latter occurs when a struct pt_regs is
pushed.  Correct the validation check on these fields to check for both
stack areas.  Not allowing for memory stack locations means no
backtrace past ia64_leave_kernel, or any other code that uses
PT_REGS_UNWIND_INFO.

Signed-off-by: Keith Owens <kaos@sgi.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/kernel/unwind.c