commit | 75d14edee5689716b55afe467acfc13206a31f95 | [log] [tgz] |
---|---|---|
author | Jason Wessel <jason.wessel@windriver.com> | Mon Oct 11 10:20:14 2010 -0500 |
committer | Jason Wessel <jason.wessel@windriver.com> | Fri Oct 22 15:34:12 2010 -0500 |
tree | 2646d65a43916e2eac7e24e8b23f1f82918b6702 | |
parent | e3bda3ac33d3bf3e5a4049e2cabe82d3caaffc26 [diff] |
kdb: Fix oops in kdb_unregister Nothing should try to use kdb_commands directly as sometimes it is null. Instead, use the for_each_kdbcmd() iterator. This particular problem dates back to the initial kdb merge (2.6.35), but at that point nothing was dynamically unregistering commands from the kdb shell. Signed-off-by: Jason Wessel <jason.wessel@windriver.com>