Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1d5f6b36 authored by Yinghai Lu's avatar Yinghai Lu Committed by Ingo Molnar
Browse files

x86: check with without_new in show_interrupts



so we don't get new one that we don't need it.

Signed-off-by: default avatarYinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 46926b67
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -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