ftrace: handle generic arch calls
authorSteven Rostedt <rostedt@goodmis.org>
Thu, 23 Oct 2008 13:32:57 +0000 (09:32 -0400)
committerIngo Molnar <mingo@elte.hu>
Thu, 23 Oct 2008 13:58:19 +0000 (15:58 +0200)
commitdce9d18adde74b8e36b9e4a8a49ddf066bad0b3b
tree0d1a5fc1690808ed8184fd64798a65cc5c656585
parent6ae2a0765ab764da11cc305058ee5333810228f4
ftrace: handle generic arch calls

The recordmcount script requires that the actual arch is passed in.
This works well when ARCH=i386 or ARCH=x86_64 but does not handle the
case of ARCH=x86.

This patch adds a parameter to the function to pass in the number of
bits of the architecture. So that it can determine if x86 should be
run for x86_64 or i386 archs.

Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
scripts/Makefile.build
scripts/recordmcount.pl