]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
tracing: fix a build error on alpha
authorFrederic Weisbecker <fweisbec@gmail.com>
Tue, 28 Oct 2008 08:43:26 +0000 (09:43 +0100)
committerIngo Molnar <mingo@elte.hu>
Tue, 28 Oct 2008 08:53:28 +0000 (09:53 +0100)
Impact: build fix on Alpha

When tracing is enabled, some arch have included <linux/irqflags.h>
on their <asm/system.h> but others like alpha or m68k don't.

Build error on alpha:

kernel/trace/trace.c: In function 'tracing_cpumask_write':
kernel/trace/trace.c:2145: error: implicit declaration of function 'raw_local_irq_disable'
kernel/trace/trace.c:2162: error: implicit declaration of function 'raw_local_irq_enable'

Tested on Alpha through a cross-compiler (should correct a similar issue on m68k).

Reported-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/trace/trace.c

index 06951e229443f21965456afa9286d2cfd6dfb3f9..bc577dcc0e4733a70f5ccd4ea84ba8ecba08f44d 100644 (file)
@@ -34,6 +34,7 @@
 
 #include <linux/stacktrace.h>
 #include <linux/ring_buffer.h>
+#include <linux/irqflags.h>
 
 #include "trace.h"