projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8da077d
)
x86: fix typo in irq_desc array
author
Yinghai Lu
<yhlu.kernel@gmail.com>
Thu, 25 Sep 2008 02:04:35 +0000
(19:04 -0700)
committer
Ingo Molnar
<mingo@elte.hu>
Thu, 16 Oct 2008 14:53:11 +0000
(16:53 +0200)
when SPARSE_IRQ is not used, should still use irq_desc->lock
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/irq/handle.c
patch
|
blob
|
history
diff --git
a/kernel/irq/handle.c
b/kernel/irq/handle.c
index 7f625fbc9aa4349ffaea77828de4f14b09bd62ad..fb6bdb602a935a858c7943688443efe4227a8d8e 100644
(file)
--- a/
kernel/irq/handle.c
+++ b/
kernel/irq/handle.c
@@
-253,7
+253,7
@@
struct irq_desc irq_desc[NR_IRQS] __cacheline_aligned_in_smp = {
.chip = &no_irq_chip,
.handle_irq = handle_bad_irq,
.depth = 1,
- .lock = __SPIN_LOCK_UNLOCKED(
sparse_irqs
->lock),
+ .lock = __SPIN_LOCK_UNLOCKED(
irq_desc
->lock),
#ifdef CONFIG_SMP
.affinity = CPU_MASK_ALL
#endif