Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 57479
b: refs/heads/master
c: b39b703
h: refs/heads/master
i:
  57477: 2708af4
  57475: 5165188
  57471: e52d192
v: v3
  • Loading branch information
Andrew Morton authored and Linus Torvalds committed Jun 9, 2007
1 parent 2e16c3c commit 4340473
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 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: 12710a56cb56e81bd8f457cc2f50c2ebfc0cb390
refs/heads/master: b39b70366c5be68affe9777de72846540d840464
3 changes: 2 additions & 1 deletion trunk/arch/x86_64/kernel/traps.c
Original file line number Diff line number Diff line change
Expand Up @@ -465,13 +465,14 @@ static unsigned int die_nest_count;

unsigned __kprobes long oops_begin(void)
{
int cpu = smp_processor_id();
int cpu;
unsigned long flags;

oops_enter();

/* racy, but better than risking deadlock. */
local_irq_save(flags);
cpu = smp_processor_id();
if (!spin_trylock(&die_lock)) {
if (cpu == die_owner)
/* nested oops. should stop eventually */;
Expand Down

0 comments on commit 4340473

Please sign in to comment.