projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6815800
)
[POWERPC] Initialise hwirq for legacy irqs
author
Michael Ellerman
<michael@ellerman.id.au>
Tue, 28 Aug 2007 08:47:56 +0000
(18:47 +1000)
committer
Paul Mackerras
<paulus@samba.org>
Thu, 13 Sep 2007 15:33:20 +0000
(
01:33
+1000)
Although no one uses the hwirq value for legacy irqs at the moment, we
should really setup the correct value in the irq_map.
Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/irq.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/powerpc/kernel/irq.c
b/arch/powerpc/kernel/irq.c
index d5c7e4cf2b396c8f3bcc6d9d1b1fb753d60c6176..1339f32b44b526c05ab62ff02fa5c0dee0875c9e 100644
(file)
--- a/
arch/powerpc/kernel/irq.c
+++ b/
arch/powerpc/kernel/irq.c
@@
-487,7
+487,7
@@
__init_refok struct irq_host *irq_alloc_host(struct device_node *of_node,
host->inval_irq = 0;
/* setup us as the host for all legacy interrupts */
for (i = 1; i < NUM_ISA_INTERRUPTS; i++) {
- irq_map[i].hwirq =
0
;
+ irq_map[i].hwirq =
i
;
smp_wmb();
irq_map[i].host = host;
smp_wmb();