1
0
Fork 0

[POWERPC] Fix compile breakage for 64-bit UP configs

The rearrangements in 945feb174b
("[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>
hifive-unleashed-5.1
Paul Mackerras 2008-04-20 17:57:10 +10:00
parent 9c0c44dbd9
commit 14b3ca4022
1 changed files with 1 additions and 0 deletions

View File

@ -5,6 +5,7 @@
#define _ASM_POWERPC_SYSTEM_H
#include <linux/kernel.h>
#include <linux/irqflags.h>
#include <asm/hw_irq.h>