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.0-rc1~404^2~6^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=37762cb9977626343b3cd1aab9146313c94748c2;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