Commits
![Thadeu Lima de Souza Cascardo](https://secure.gravatar.com/avatar/61c9efffeb1db9f6a2b72a54ce625f78.jpg?s=96&d=mm)
Thadeu Lima de Souza Cascardo committed 4f9b514b765
powerpc: Make /proc/self/stack always print the current stack For the current task, the kernel stack would only tell the last time the process was rescheduled, if ever. Use the current stack pointer for the current task. Otherwise, every once in a while, the stacktrace printed when reading /proc/self/stack would look like the process is running in userspace, while it's not, which some may consider as a bug. This is also consistent with some other architectures, like x86 and arm, at least. Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@canonical.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>