commit | 7e04a1183eac3e6b3570a154c8677fd9184b51e7 | [log] [tgz] |
---|---|---|
author | Chuck Ebbert <76306.1226@compuserve.com> | Fri Jun 23 02:04:31 2006 -0700 |
committer | Linus Torvalds <torvalds@g5.osdl.org> | Fri Jun 23 07:42:59 2006 -0700 |
tree | c7e65549871504bb4df03982f9a7581aa6417cab | |
parent | 722f4f5b2600b8930b63a096e48b878cd6e0e15a [diff] |
[PATCH] i386: extra checks in show_registers() Sometimes thread_info and task_struct get out-of-sync with each other. Printing task.thread_info in show_registers() can help spot this. And when task_struct is corrupt then task.comm can contain garbage, so only print as many characters as it can hold. Signed-off-by: Chuck Ebbert <76306.1226@compuserve.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>