diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-03-02 18:31:07 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-03-02 18:31:07 -0500 |
commit | 64ed28a87a0c075e91c1c5b0fe7d225a6cc6ae39 (patch) | |
tree | a434977a6caa9b41cc0daaf71dbd76ac8693aba6 /drivers/sh | |
parent | b93a4afcff7be859e30cad2a305731516057d6cf (diff) | |
parent | 17ccb834d517c66c09123c24ba8553c5b14e0f78 (diff) |
Merge master.kernel.org:/pub/scm/linux/kernel/git/lethal/genesis-2.6 into devel-stable
Conflicts:
arch/arm/Kconfig
Diffstat (limited to 'drivers/sh')
-rw-r--r-- | drivers/sh/intc.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/drivers/sh/intc.c b/drivers/sh/intc.c index d5d7f23c19a5..926013bece12 100644 --- a/drivers/sh/intc.c +++ b/drivers/sh/intc.c | |||
@@ -658,6 +658,10 @@ static void __init intc_register_irq(struct intc_desc *desc, | |||
658 | 658 | ||
659 | if (desc->ack_regs) | 659 | if (desc->ack_regs) |
660 | ack_handle[irq] = intc_ack_data(desc, d, enum_id); | 660 | ack_handle[irq] = intc_ack_data(desc, d, enum_id); |
661 | |||
662 | #ifdef CONFIG_ARM | ||
663 | set_irq_flags(irq, IRQF_VALID); /* Enable IRQ on ARM systems */ | ||
664 | #endif | ||
661 | } | 665 | } |
662 | 666 | ||
663 | static unsigned int __init save_reg(struct intc_desc_int *d, | 667 | static unsigned int __init save_reg(struct intc_desc_int *d, |
@@ -902,8 +906,12 @@ static unsigned int create_irq_on_node(unsigned int irq_want, int node) | |||
902 | out_unlock: | 906 | out_unlock: |
903 | spin_unlock_irqrestore(&vector_lock, flags); | 907 | spin_unlock_irqrestore(&vector_lock, flags); |
904 | 908 | ||
905 | if (irq > 0) | 909 | if (irq > 0) { |
906 | dynamic_irq_init(irq); | 910 | dynamic_irq_init(irq); |
911 | #ifdef CONFIG_ARM | ||
912 | set_irq_flags(irq, IRQF_VALID); /* Enable IRQ on ARM systems */ | ||
913 | #endif | ||
914 | } | ||
907 | 915 | ||
908 | return irq; | 916 | return irq; |
909 | } | 917 | } |