spinlock: Fix panic messages

Thanks Jérôme for pointing this out.
This commit is contained in:
Pawel Dziepak
2013-11-24 22:54:14 +01:00
parent 03f7d3d1db
commit cec16c2dcf
+4 -4
View File
@@ -537,8 +537,8 @@ try_acquire_write_spinlock(rw_spinlock* lock)
}
if (sNumCPUs < 2 && lock->lock != 0) {
panic("acquire_spinlock_cpu(): attempt to acquire lock %p twice on "
"non-SMP system", lock);
panic("try_acquire_write_spinlock(): attempt to acquire lock %p twice "
"on non-SMP system", lock);
}
#endif
@@ -601,8 +601,8 @@ try_acquire_read_spinlock(rw_spinlock* lock)
}
if (sNumCPUs < 2 && lock->lock != 0) {
panic("acquire_spinlock_cpu(): attempt to acquire lock %p twice on "
"non-SMP system", lock);
panic("try_acquire_read_spinlock(): attempt to acquire lock %p twice "
"on non-SMP system", lock);
}
#endif