summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/irq.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2010-06-03 00:24:26 +0200
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2010-06-15 07:02:37 +0200
commitf1ba9a5b2ab7d3f5a910d93371c4f22b636b7683 (patch)
tree027523e8302d0851acd8e472acff9c81030abc94 /arch/powerpc/include/asm/irq.h
parentpowerpc/kexec: Wait for online/possible CPUs only. (diff)
downloadlinux-f1ba9a5b2ab7d3f5a910d93371c4f22b636b7683.tar.xz
linux-f1ba9a5b2ab7d3f5a910d93371c4f22b636b7683.zip
powerpc: Unconditionally enabled irq stacks
Irq stacks provide an essential protection from stack overflows through external interrupts, at the cost of two additionals stacks per CPU. Enable them unconditionally to simplify the kernel build and prevent people from accidentally disabling them. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/include/asm/irq.h')
-rw-r--r--arch/powerpc/include/asm/irq.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/powerpc/include/asm/irq.h b/arch/powerpc/include/asm/irq.h
index e054baef1845..ecba37a91749 100644
--- a/arch/powerpc/include/asm/irq.h
+++ b/arch/powerpc/include/asm/irq.h
@@ -358,7 +358,6 @@ extern void exc_lvl_ctx_init(void);
#define exc_lvl_ctx_init()
#endif
-#ifdef CONFIG_IRQSTACKS
/*
* Per-cpu stacks for handling hard and soft interrupts.
*/
@@ -369,11 +368,6 @@ extern void irq_ctx_init(void);
extern void call_do_softirq(struct thread_info *tp);
extern int call_handle_irq(int irq, void *p1,
struct thread_info *tp, void *func);
-#else
-#define irq_ctx_init()
-
-#endif /* CONFIG_IRQSTACKS */
-
extern void do_IRQ(struct pt_regs *regs);
#endif /* _ASM_IRQ_H */