Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 4198
b: refs/heads/master
c: af25e94
h: refs/heads/master
v: v3
  • Loading branch information
unknown authored and Tony Luck committed Jul 6, 2005
1 parent 4b39625 commit d6bb0aa
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 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: 67d340f440f389e9d56201fb7c7aaa92f262feb1
refs/heads/master: af25e94d4dcfb9608846242fabdd4e6014e5c9f0
6 changes: 4 additions & 2 deletions trunk/arch/ia64/kernel/traps.c
Original file line number Diff line number Diff line change
Expand Up @@ -90,14 +90,16 @@ die (const char *str, struct pt_regs *regs, long err)
.lock_owner_depth = 0
};
static int die_counter;
int cpu = get_cpu();

if (die.lock_owner != smp_processor_id()) {
if (die.lock_owner != cpu) {
console_verbose();
spin_lock_irq(&die.lock);
die.lock_owner = smp_processor_id();
die.lock_owner = cpu;
die.lock_owner_depth = 0;
bust_spinlocks(1);
}
put_cpu();

if (++die.lock_owner_depth < 3) {
printk("%s[%d]: %s %ld [%d]\n",
Expand Down

0 comments on commit d6bb0aa

Please sign in to comment.