sh: fix get_wchan() for SH kernels without framepointers
authorDavid McCullough <david_mccullough@au.securecomputing.com>
Thu, 26 Jul 2007 08:46:07 +0000 (17:46 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Thu, 26 Jul 2007 08:46:07 +0000 (17:46 +0900)
commitc64ac9f0581a80b6200846e7007a33c3b24ef745
tree2debaa0d6163c2052ba873f0bf07febac6013140
parent1f25756a11d662a986553754bf398ccc38f3925e
sh: fix get_wchan() for SH kernels without framepointers

Do not follow the frame pointers (/proc/X/task/1/stat) unless we were
compiled with them.

Signed-off-by: David McCullough <david_mccullough@au.securecomputing.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/process.c