]> git.baikalelectronics.ru Git - kernel.git/commit
sh64: oprofile: Fix up kernel stack pointer size mismatch.
authorPaul Mundt <lethal@linux-sh.org>
Wed, 27 Oct 2010 07:58:22 +0000 (16:58 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 27 Oct 2010 07:58:22 +0000 (16:58 +0900)
commit087ee8b4c313ffbf54e7dcb4b8d8d14095c67b1a
treef870feb1903ed3c46ffe825c5a5b394175a757f9
parent54daed80728a39169e5be8715bb67d30be5a180a
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>
arch/sh/oprofile/backtrace.c