diff options
author | Paul Mundt <lethal@linux-sh.org> | 2007-11-02 12:16:51 +0900 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2007-11-02 12:16:51 +0900 |
commit | 110ed28246a0063a5984d7f72ba5c97f154a51cf (patch) | |
tree | cf1611203f161caabd9c24022df2477656eda853 /include/asm-sh/irq.h | |
parent | 0e670685e4925930000a678c74eb1cbf23b415fa (diff) |
sh: Decouple 4k and soft/hardirq stacks.
While using separate IRQ stacks can cut down on stack consumption,
many users can also use 4k stacks directly without the additional
need of separate stacks for soft and hardirqs.
With this split, we support the same rationale for 4KSTACKS as
m68knommu, with the IRQSTACKS abstraction as per ppc64.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'include/asm-sh/irq.h')
-rw-r--r-- | include/asm-sh/irq.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-sh/irq.h b/include/asm-sh/irq.h index c61d902b8bf..11850f65c92 100644 --- a/include/asm-sh/irq.h +++ b/include/asm-sh/irq.h @@ -41,7 +41,7 @@ static inline int generic_irq_demux(int irq) #define irq_canonicalize(irq) (irq) #define irq_demux(irq) sh_mv.mv_irq_demux(irq) -#ifdef CONFIG_4KSTACKS +#ifdef CONFIG_IRQSTACKS extern void irq_ctx_init(int cpu); extern void irq_ctx_exit(int cpu); # define __ARCH_HAS_DO_SOFTIRQ |