]> err.no Git - linux-2.6/commitdiff
[POWERPC] Fix compile breakage for 64-bit UP configs
authorPaul Mackerras <paulus@samba.org>
Sun, 20 Apr 2008 07:57:10 +0000 (17:57 +1000)
committerPaul Mackerras <paulus@samba.org>
Sun, 20 Apr 2008 07:57:10 +0000 (17:57 +1000)
The rearrangements in 945feb174b14e7098cc7ecf0cf4768d35bc52f9c
("[POWERPC] irqtrace support for 64-bit powerpc") caused 64-bit
non-SMP configs to fail to compile with a message about
local_irq_save being undefined in include/linux/proportions.h.
This follows the lead of x86 in including <linux/irqflags.h> in
asm/system.h, which fixes the problem.

Signed-off-by: Paul Mackerras <paulus@samba.org>
include/asm-powerpc/system.h

index 29552ff182aa161204490d48bb26d9ec1e613e2e..fab1674b31b6beb989478cc8ed65894decdef84d 100644 (file)
@@ -5,6 +5,7 @@
 #define _ASM_POWERPC_SYSTEM_H
 
 #include <linux/kernel.h>
+#include <linux/irqflags.h>
 
 #include <asm/hw_irq.h>