Skip to content

Commit

Permalink
[POWERPC] Fix compile breakage for 64-bit UP configs
Browse files Browse the repository at this point in the history
The rearrangements in 945feb1
("[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>
  • Loading branch information
Paul Mackerras committed Apr 20, 2008
1 parent 9c0c44d commit 14b3ca4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/asm-powerpc/system.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
#define _ASM_POWERPC_SYSTEM_H

#include <linux/kernel.h>
#include <linux/irqflags.h>

#include <asm/hw_irq.h>

Expand Down

0 comments on commit 14b3ca4

Please sign in to comment.