commit | d1ba71f7645696020864fe3cea3049befbe50408 | [log] [tgz] |
---|---|---|
author | Paul Mundt <lethal@linux-sh.org> | Wed Oct 27 16:58:22 2010 +0900 |
committer | Paul Mundt <lethal@linux-sh.org> | Wed Oct 27 16:58:22 2010 +0900 |
tree | f870feb1903ed3c46ffe825c5a5b394175a757f9 | |
parent | 2e4f17d230d84579fef07836fb5f69bf1a0a47ad [diff] |
sh64: oprofile: Fix up kernel stack pointer size mismatch. For the backtrace code its assumed that the stack pointer is 32-bits, which is not the case with the sh64 registers. Use the shared kernel_stack_pointer() helper to get at the actual register, which already takes care of the necessary typecasting. Signed-off-by: Paul Mundt <lethal@linux-sh.org>