projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
46926b6
)
x86: check with without_new in show_interrupts
author
Yinghai Lu
<yhlu.kernel@gmail.com>
Wed, 20 Aug 2008 03:50:16 +0000
(20:50 -0700)
committer
Ingo Molnar
<mingo@elte.hu>
Thu, 16 Oct 2008 14:52:51 +0000
(16:52 +0200)
so we don't get new one that we don't need it.
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/irq_64.c
patch
|
blob
|
history
diff --git
a/arch/x86/kernel/irq_64.c
b/arch/x86/kernel/irq_64.c
index
f58b995
..
f337f87
100644
(file)
--- a/
arch/x86/kernel/irq_64.c
+++ b/
arch/x86/kernel/irq_64.c
@@
-83,7
+83,10
@@
int show_interrupts(struct seq_file *p, void *v)
if (i < nr_irqs) {
unsigned any_count = 0;
- struct irq_desc *desc = irq_to_desc(i);
+ struct irq_desc *desc = __irq_to_desc(i);
+
+ if (!desc)
+ return 0;
spin_lock_irqsave(&desc->lock, flags);
#ifndef CONFIG_SMP