]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[ARM] Fix stacktrace FP range checking
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Sat, 26 May 2007 11:04:17 +0000 (12:04 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 30 May 2007 12:15:12 +0000 (13:15 +0100)
commit5b10c8e436b69f25b6dcb5586bbdc5e39c20ed1d
tree44257d4bcbcbe543453467e2e264c0994233f9e0
parentb91d8a1205faa76affc4e1b7d5ccac1d17026970
[ARM] Fix stacktrace FP range checking

Fix an oops in the stacktrace code, caused by improper range checking.
We subtract 12 off 'fp' before testing to see if it's below the low
bound.  However, if 'fp' were zero before, it becomes a very large
positive number, causing this test to succeed where it should fail.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/stacktrace.c