Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 83474
b: refs/heads/master
c: b41ecbe
h: refs/heads/master
v: v3
  • Loading branch information
Andrew Morton authored and Linus Torvalds committed Feb 6, 2008
1 parent fdf43ec commit 0b9a0d9
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 1bf47346d75790ebd2563d909d48046961c7ffd5
refs/heads/master: b41ecbebd4091a15233abab2d771e65fb82cdb20
4 changes: 3 additions & 1 deletion trunk/lib/smp_processor_id.c
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,9 @@ unsigned int debug_smp_processor_id(void)
if (!printk_ratelimit())
goto out_enable;

printk(KERN_ERR "BUG: using smp_processor_id() in preemptible [%08x] code: %s/%d\n", preempt_count(), current->comm, current->pid);
printk(KERN_ERR "BUG: using smp_processor_id() in preemptible [%08x] "
"code: %s/%d\n",
preempt_count() - 1, current->comm, current->pid);
print_symbol("caller is %s\n", (long)__builtin_return_address(0));
dump_stack();

Expand Down

0 comments on commit 0b9a0d9

Please sign in to comment.