MIPS, Tracing: Clean up ftrace_make_nop()
authorWu Zhangjin <wuzhangjin@gmail.com>
Wed, 19 Jan 2011 19:28:31 +0000 (03:28 +0800)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 14 Mar 2011 20:07:24 +0000 (21:07 +0100)
commit7f21a60968221eabad5c53fe760db3d094994011
tree0b87d690d60ff0292d0088bfee6f1b3ca7ff3910
parent2816e325969396af5bd1d5f70c7360074ae1d63c
MIPS, Tracing: Clean up ftrace_make_nop()

This moves the comments out of ftrace_make_nop() and cleans it.  At the
same time, a macro MCOUNT_OFFSET_INSNS is defined for sharing with the
next patch.

Signed-off-by: Wu Zhangjin <wuzhangjin@gmail.com>
Cc: Steven Rostedt <srostedt@redhat.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/2008/
Signed-off-by: Ralf Baechle <ralf@duck.linux-mips.net>
arch/mips/kernel/ftrace.c