Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 48471
b: refs/heads/master
c: 2fb12a9
h: refs/heads/master
i:
  48469: 0beabd0
  48467: ec9c1f3
  48463: 8c1848a
v: v3
  • Loading branch information
Eric W. Biederman authored and Andi Kleen committed Feb 13, 2007
1 parent 7c4dc03 commit 0dd035d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: bcde1ebb81c51ebdfa02887703e4d21c1bbc2431
refs/heads/master: 2fb12a9bca5ad9aa6dcd2c639b4a7656a8843ef8
12 changes: 9 additions & 3 deletions trunk/arch/x86_64/kernel/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
#include <asm/uaccess.h>
#include <asm/io_apic.h>
#include <asm/idle.h>
#include <asm/smp.h>

atomic_t irq_err_count;

Expand Down Expand Up @@ -120,9 +121,14 @@ asmlinkage unsigned int do_IRQ(struct pt_regs *regs)

if (likely(irq < NR_IRQS))
generic_handle_irq(irq);
else if (printk_ratelimit())
printk(KERN_EMERG "%s: %d.%d No irq handler for vector\n",
__func__, smp_processor_id(), vector);
else {
if (!disable_apic)
ack_APIC_irq();

if (printk_ratelimit())
printk(KERN_EMERG "%s: %d.%d No irq handler for vector\n",
__func__, smp_processor_id(), vector);
}

irq_exit();

Expand Down

0 comments on commit 0dd035d

Please sign in to comment.