summaryrefslogtreecommitdiffstats
path: root/arch/sh/include/asm/serial.h
diff options
context:
space:
mode:
authorWu Zhangjin <wuzhangjin@gmail.com>2009-11-20 20:34:37 +0800
committerRalf Baechle <ralf@linux-mips.org>2009-12-17 01:57:26 +0000
commitfc49a3be2be7a0cd44fcd3b37557d6d92cae59b1 (patch)
treed216d6b5a23c85ee5bcd3b92dd62a4c6718bd72e /arch/sh/include/asm/serial.h
parent046199cae714a7f9e88f5a7940b077f4515f48cb (diff)
downloadkernel-crypto-fc49a3be2be7a0cd44fcd3b37557d6d92cae59b1.tar.gz
kernel-crypto-fc49a3be2be7a0cd44fcd3b37557d6d92cae59b1.tar.xz
kernel-crypto-fc49a3be2be7a0cd44fcd3b37557d6d92cae59b1.zip
MIPS: Tracing: Reserve $12(t0) for mcount-ra-address of gcc 4.5
A new option -mmcount-ra-address for gcc 4.5 have been sent by David Daney <ddaney@caviumnetworks.com> in the thread "MIPS: Add option to pass return address location to _mcount", which help to record the location of the return address(ra) for the function graph tracer of MIPS to hijack the return address easier and safer. that option used the $12(t0) register by default, so, we reserve it for it, and use t1,t2,t3 instead of t0,t1,t2. Signed-off-by: Wu Zhangjin <wuzhangjin@gmail.com> Cc: Steven Rostedt <rostedt@goodmis.org> Cc: Nicholas Mc Guire <der.herr@hofr.at> Cc: zhangfx@lemote.com Cc: Wu Zhangjin <wuzhangjin@gmail.com> Cc: Ingo Molnar <mingo@elte.hu> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: linux-kernel@vger.kernel.org Cc: linux-mips@linux-mips.org Patchwork: http://patchwork.linux-mips.org/patch/680/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/sh/include/asm/serial.h')
0 files changed, 0 insertions, 0 deletions