From: Frederic Weisbecker Date: Tue, 28 Oct 2008 08:43:26 +0000 (+0100) Subject: tracing: fix a build error on alpha X-Git-Tag: v2.6.28-rc3~86^2~1 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=21798a84ab383cdac0e7ee3368e0792b718b867d;p=linux-2.6-omap-h63xx.git tracing: fix a build error on alpha Impact: build fix on Alpha When tracing is enabled, some arch have included on their 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 Signed-off-by: Frederic Weisbecker Signed-off-by: Ingo Molnar --- diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c index 06951e22944..bc577dcc0e4 100644 --- a/kernel/trace/trace.c +++ b/kernel/trace/trace.c @@ -34,6 +34,7 @@ #include #include +#include #include "trace.h"