Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 228939
b: refs/heads/master
c: f2fd439
h: refs/heads/master
i:
  228937: b235476
  228935: 844ea19
v: v3
  • Loading branch information
Don Zickus authored and Ingo Molnar committed Jan 7, 2011
1 parent 0551130 commit 212fa77
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 17 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: ab846f13f69fa64f8ed69ce0c3e239e075910d23
refs/heads/master: f2fd43954abc058586e95d4eb91e7a5477070704
30 changes: 14 additions & 16 deletions trunk/arch/x86/kernel/traps.c
Original file line number Diff line number Diff line change
Expand Up @@ -410,26 +410,24 @@ static notrace __kprobes void default_do_nmi(struct pt_regs *regs)
raw_spin_lock(&nmi_reason_lock);
reason = get_nmi_reason();

if (!(reason & NMI_REASON_MASK)) {
if (reason & NMI_REASON_MASK) {
if (reason & NMI_REASON_SERR)
pci_serr_error(reason, regs);
else if (reason & NMI_REASON_IOCHK)
io_check_error(reason, regs);
#ifdef CONFIG_X86_32
/*
* Reassert NMI in case it became active
* meanwhile as it's edge-triggered:
*/
reassert_nmi();
#endif
raw_spin_unlock(&nmi_reason_lock);
unknown_nmi_error(reason, regs);

return;
}

/* AK: following checks seem to be broken on modern chipsets. FIXME */
if (reason & NMI_REASON_SERR)
pci_serr_error(reason, regs);
if (reason & NMI_REASON_IOCHK)
io_check_error(reason, regs);
#ifdef CONFIG_X86_32
/*
* Reassert NMI in case it became active meanwhile
* as it's edge-triggered:
*/
reassert_nmi();
#endif
raw_spin_unlock(&nmi_reason_lock);

unknown_nmi_error(reason, regs);
}

dotraplinkage notrace __kprobes void
Expand Down

0 comments on commit 212fa77

Please sign in to comment.