]> git.karo-electronics.de Git - karo-tx-linux.git/commit
tile: don't call show_regs_print_info() with corrupt current
authorChris Metcalf <cmetcalf@tilera.com>
Sat, 10 Aug 2013 16:22:43 +0000 (12:22 -0400)
committerChris Metcalf <cmetcalf@tilera.com>
Tue, 13 Aug 2013 20:27:44 +0000 (16:27 -0400)
commitc5d705a56cdc0df8e1ff9e27cabb2a6365cb7745
tree58d1bc7afa2e2348ec16e05a2d252edc3cf6227f
parentca782ff9e930a71735659cdac4030645b1948547
tile: don't call show_regs_print_info() with corrupt current

We use the validate_current() API to make sure that "current" seems
plausible before using it.  With the new show_regs_print_info()
API, we want to check that current is OK before calling it, since
otherwise we will end up in a recursive panic.

Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
arch/tile/kernel/process.c