summaryrefslogtreecommitdiff
path: root/arch/powerpc/kernel/misc_64.S
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2010-06-03 02:24:26 +0400
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2010-06-15 09:02:37 +0400
commitf1ba9a5b2ab7d3f5a910d93371c4f22b636b7683 (patch)
tree027523e8302d0851acd8e472acff9c81030abc94 /arch/powerpc/kernel/misc_64.S
parentb636f1379eefe6eba931deaa386605bc7ac623e7 (diff)
downloadlinux-f1ba9a5b2ab7d3f5a910d93371c4f22b636b7683.tar.xz
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/kernel/misc_64.S')
-rw-r--r--arch/powerpc/kernel/misc_64.S2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/powerpc/kernel/misc_64.S b/arch/powerpc/kernel/misc_64.S
index a2b18dffa03e..e5144906a56d 100644
--- a/arch/powerpc/kernel/misc_64.S
+++ b/arch/powerpc/kernel/misc_64.S
@@ -28,7 +28,6 @@
.text
-#ifdef CONFIG_IRQSTACKS
_GLOBAL(call_do_softirq)
mflr r0
std r0,16(r1)
@@ -52,7 +51,6 @@ _GLOBAL(call_handle_irq)
ld r0,16(r1)
mtlr r0
blr
-#endif /* CONFIG_IRQSTACKS */
.section ".toc","aw"
PPC64_CACHES: