ftrace: Have recordmcount honor endianness in fn_ELF_R_INFO
authorJohn Reiser <jreiser@bitwagon.com>
Tue, 23 Nov 2010 03:41:44 +0000 (19:41 -0800)
committerSteven Rostedt <rostedt@goodmis.org>
Thu, 2 Dec 2010 15:37:48 +0000 (10:37 -0500)
commite63233f75a1a6bfa97ffb52a20cc6801a4c63fb2
treef552d74d59f2de3b4aca76ded4f56390e439c247
parent15664125f7cadcb6d725cb2d9b90f9715397848d
ftrace: Have recordmcount honor endianness in fn_ELF_R_INFO

It looks to me like the change which introduced "virtual functions"
forgot about cross-platform endianness.

Thank you to Arnaud for supplying before+after data files do_mounts*.o.

This fixes a MIPS build failure triggered by recordmcount.

Reported-by: Arnaud Lacombe <lacombar@gmail.com>
Tested-by: Arnaud Lacombe <lacombar@gmail.com>
Acked-by: Wu Zhangjin <wuzhangjin@gmail.com>
Acked-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: John Reiser <jreiser@BitWagon.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
scripts/recordmcount.h