MIPS: oprofile: Fix backtrace on 64-bit kernel
authorAaro Koskinen <aaro.koskinen@nsn.com>
Fri, 17 Oct 2014 15:10:24 +0000 (18:10 +0300)
committerBen Hutchings <ben@decadent.org.uk>
Sun, 14 Dec 2014 16:23:58 +0000 (16:23 +0000)
commit8d3e0ea150d43b9085020b6cd72519262503f7c9
tree9cc7189de862b46e844e754c397a6a7b1040f09e
parent680572752413acdc3e277c01f7d9c48c36ee1c54
MIPS: oprofile: Fix backtrace on 64-bit kernel

commit bbaf113a481b6ce32444c125807ad3618643ce57 upstream.

Fix incorrect cast that always results in wrong address for the new
frame on 64-bit kernels.

Signed-off-by: Aaro Koskinen <aaro.koskinen@nsn.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/8110/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
arch/mips/oprofile/backtrace.c