From: Steven Rostedt Date: Mon, 12 May 2008 19:21:02 +0000 (+0200) Subject: ftrace: use raw_smp_processor_id for mcount functions X-Git-Tag: v2.6.27-rc1~1102^2^2~1^2~36 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2bb6f8d6389cbfadd657e7dc069f6986abf35e4f;p=pandora-kernel.git ftrace: use raw_smp_processor_id for mcount functions Due to debug hooks in the kernel that can change the way smp_processor_id works, use raw_smp_processor_id in mcount called functions (namely ftrace_record_ip). Currently we annotate most debug functions from calling mcount, but we should not rely on that to prevent kernel lockups. This patch uses the raw_smp_processor_id to prevent a recusive crash that can happen if a debug hook in smp_processor_id calls mcount. Signed-off-by: Steven Rostedt Signed-off-by: Ingo Molnar Signed-off-by: Thomas Gleixner --- Reading git-diff-tree failed