From: Steven Rostedt Date: Thu, 21 Apr 2011 00:47:34 +0000 (-0400) Subject: ftrace/recordmcount: Remove duplicate code to find mcount symbol X-Git-Tag: v3.1-rc1~299^2~39^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f6d4f08194d77c86fe3af6e2e4b9184347014926;p=pandora-kernel.git ftrace/recordmcount: Remove duplicate code to find mcount symbol The code in sift_rel_mcount() and nop_mcount() to get the mcount symbol number is identical. Replace the two locations with a call to a function that does the work. Cc: John Reiser Link: http://lkml.kernel.org/r/20110421023739.488093407@goodmis.org Signed-off-by: Steven Rostedt --- Reading git-diff-tree failed