]> err.no Git - linux-2.6/commit
ftrace: irqsoff use raw_smp_processor_id
authorSteven Rostedt <rostedt@goodmis.org>
Mon, 12 May 2008 19:20:55 +0000 (21:20 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 23 May 2008 19:13:41 +0000 (21:13 +0200)
commitc5f888cae49dfe3e86d9d1e0dab2b63ceb057be3
treee276b5299b52ccbe8b89492d398fe63652cddd49
parent4d9493c90f8e6e1b164aede3814010a290161abb
ftrace: irqsoff use raw_smp_processor_id

This patch changes the use of __get_cpu_var to explicitly calling
raw_smp_processor_id and using the per_cpu() macro. On some debug
configurations, the use of __get_cpu_var may cause ftrace to trigger
and this can cause problems with the irqsoff tracing.

Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
kernel/trace/trace_irqsoff.c