projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e670761
)
x86: Re-get cfg_new in case reuse/move irq_desc
author
Yinghai Lu
<yinghai@kernel.org>
Sat, 21 Nov 2009 08:23:37 +0000
(
00:23
-0800)
committer
Ingo Molnar
<mingo@elte.hu>
Mon, 23 Nov 2009 08:56:05 +0000
(09:56 +0100)
When irq_desc is moved, we need to make sure to use the right cfg_new.
Signed-off-by: Yinghai Lu <yinghai@kernel.org>
LKML-Reference: <
4B07A739
.
3030104
@kernel.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/apic/io_apic.c
patch
|
blob
|
history
diff --git
a/arch/x86/kernel/apic/io_apic.c
b/arch/x86/kernel/apic/io_apic.c
index ff237199fa23c1220e51ae87822369a147184aab..085e60e303cf6e007312308d25633f3b17a195d4 100644
(file)
--- a/
arch/x86/kernel/apic/io_apic.c
+++ b/
arch/x86/kernel/apic/io_apic.c
@@
-3186,6
+3186,7
@@
unsigned int create_irq_nr(unsigned int irq_want, int node)
continue;
desc_new = move_irq_desc(desc_new, node);
+ cfg_new = desc_new->chip_data;
if (__assign_irq_vector(new, cfg_new, apic->target_cpus()) == 0)
irq = new;