]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
ftrace: fix modular build
authorIngo Molnar <mingo@elte.hu>
Sat, 26 Jul 2008 13:09:47 +0000 (15:09 +0200)
committerIngo Molnar <mingo@elte.hu>
Sat, 26 Jul 2008 13:08:22 +0000 (15:08 +0200)
fix:

 ERROR: "start_critical_timings" [drivers/acpi/processor.ko] undefined!
 ERROR: "stop_critical_timings" [drivers/acpi/processor.ko] undefined!

Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/trace/trace_irqsoff.c

index b1e4a89b08eb5bf7118e33be5cb27939dd600691..ece6cfb649fa52823f33988fd6792dad2d0d1fae 100644 (file)
@@ -253,12 +253,14 @@ void start_critical_timings(void)
        if (preempt_trace() || irq_trace())
                start_critical_timing(CALLER_ADDR0, CALLER_ADDR1);
 }
+EXPORT_SYMBOL_GPL(start_critical_timings);
 
 void stop_critical_timings(void)
 {
        if (preempt_trace() || irq_trace())
                stop_critical_timing(CALLER_ADDR0, CALLER_ADDR1);
 }
+EXPORT_SYMBOL_GPL(stop_critical_timings);
 
 #ifdef CONFIG_IRQSOFF_TRACER
 #ifdef CONFIG_PROVE_LOCKING