commit | 4036c7d3542ce82ea343bf95dd05ca46aefba9aa | [log] [tgz] |
---|---|---|
author | Chris Metcalf <cmetcalf@tilera.com> | Sat Aug 10 12:22:43 2013 -0400 |
committer | Chris Metcalf <cmetcalf@tilera.com> | Fri Aug 30 11:56:54 2013 -0400 |
tree | d33fda13124e904569510e438ec4b525a31b8097 | |
parent | 6fbeee29a2b87574527897c3ded1f92e236518c7 [diff] |
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>