diff options
author | behlendo <behlendo@7e1ea52c-4ff2-0310-8f11-9dd32ca42a1c> | 2008-03-31 20:42:36 +0000 |
---|---|---|
committer | behlendo <behlendo@7e1ea52c-4ff2-0310-8f11-9dd32ca42a1c> | 2008-03-31 20:42:36 +0000 |
commit | 8d0f1ee907d425e71e34e1aea9c1b5465f8cd4d1 (patch) | |
tree | 2485257786b0d5cd9b54abebf314e4f0966ab7e1 /include/sys/rwlock.h | |
parent | e487ee08fb0bf55ac20f9d0779f602b5b543b3bf (diff) |
Add some crude debugging support. It leaves alot to be
desired, but it should allow more easy kernel debugging for now.
git-svn-id: https://outreach.scidac.gov/svn/spl/trunk@59 7e1ea52c-4ff2-0310-8f11-9dd32ca42a1c
Diffstat (limited to 'include/sys/rwlock.h')
-rw-r--r-- | include/sys/rwlock.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sys/rwlock.h b/include/sys/rwlock.h index ecee07948..6407e632d 100644 --- a/include/sys/rwlock.h +++ b/include/sys/rwlock.h @@ -236,7 +236,7 @@ rw_tryupgrade(krwlock_t *rwlp) * lock. If there is, then we know we should * not try to upgrade the lock */ if (!list_empty(&rwlp->rw_sem.wait_list)) { - printk(KERN_WARNING "There are threads waiting\n"); + printk("spl: Warning There are threads waiting\n"); spin_unlock(&rwlp->rw_sem.wait_lock); return 0; } |