diff options
| author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2012-07-25 01:43:04 -0400 |
|---|---|---|
| committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2012-07-25 01:43:04 -0400 |
| commit | 314820c9e892d8f41ba4db300ec96770d9c8294b (patch) | |
| tree | 3d5c59a429239b180c77e57f998a78d3f2b79827 /lib/spinlock_debug.c | |
| parent | e76b8ee25e034ab601b525abb95cea14aa167ed3 (diff) | |
| parent | 07b8481d4aff73d6f451f25e74ea10240ff5131e (diff) | |
Merge branch 'next' into for-linus
Diffstat (limited to 'lib/spinlock_debug.c')
| -rw-r--r-- | lib/spinlock_debug.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/spinlock_debug.c b/lib/spinlock_debug.c index 525d160d44f0..e91fbc23fff1 100644 --- a/lib/spinlock_debug.c +++ b/lib/spinlock_debug.c | |||
| @@ -58,7 +58,7 @@ static void spin_dump(raw_spinlock_t *lock, const char *msg) | |||
| 58 | printk(KERN_EMERG "BUG: spinlock %s on CPU#%d, %s/%d\n", | 58 | printk(KERN_EMERG "BUG: spinlock %s on CPU#%d, %s/%d\n", |
| 59 | msg, raw_smp_processor_id(), | 59 | msg, raw_smp_processor_id(), |
| 60 | current->comm, task_pid_nr(current)); | 60 | current->comm, task_pid_nr(current)); |
| 61 | printk(KERN_EMERG " lock: %p, .magic: %08x, .owner: %s/%d, " | 61 | printk(KERN_EMERG " lock: %ps, .magic: %08x, .owner: %s/%d, " |
| 62 | ".owner_cpu: %d\n", | 62 | ".owner_cpu: %d\n", |
| 63 | lock, lock->magic, | 63 | lock, lock->magic, |
| 64 | owner ? owner->comm : "<none>", | 64 | owner ? owner->comm : "<none>", |
| @@ -118,7 +118,7 @@ static void __spin_lock_debug(raw_spinlock_t *lock) | |||
| 118 | /* lockup suspected: */ | 118 | /* lockup suspected: */ |
| 119 | if (print_once) { | 119 | if (print_once) { |
| 120 | print_once = 0; | 120 | print_once = 0; |
| 121 | spin_dump(lock, "lockup"); | 121 | spin_dump(lock, "lockup suspected"); |
| 122 | #ifdef CONFIG_SMP | 122 | #ifdef CONFIG_SMP |
| 123 | trigger_all_cpu_backtrace(); | 123 | trigger_all_cpu_backtrace(); |
| 124 | #endif | 124 | #endif |
