summaryrefslogtreecommitdiffstats
path: root/arch/ppc/lib/locks.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>1998-08-25 09:12:35 +0000
committerRalf Baechle <ralf@linux-mips.org>1998-08-25 09:12:35 +0000
commitc7fc24dc4420057f103afe8fc64524ebc25c5d37 (patch)
tree3682407a599b8f9f03fc096298134cafba1c9b2f /arch/ppc/lib/locks.c
parent1d793fade8b063fde3cf275bf1a5c2d381292cd9 (diff)
o Merge with Linux 2.1.116.
o New Newport console code. o New G364 console code.
Diffstat (limited to 'arch/ppc/lib/locks.c')
-rw-r--r--arch/ppc/lib/locks.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/ppc/lib/locks.c b/arch/ppc/lib/locks.c
index 55cc665d7..0bb06f808 100644
--- a/arch/ppc/lib/locks.c
+++ b/arch/ppc/lib/locks.c
@@ -1,5 +1,5 @@
/*
- * $Id: locks.c,v 1.17 1998/03/26 22:19:38 cort Exp $
+ * $Id: locks.c,v 1.18 1998/07/28 03:50:27 cort Exp $
*
* Locks for smp ppc
*
@@ -18,7 +18,7 @@
#define DEBUG_LOCKS 1
#undef INIT_STUCK
-#define INIT_STUCK 1000000
+#define INIT_STUCK 10000
void _spin_lock(spinlock_t *lock)
{
@@ -120,7 +120,7 @@ void _read_unlock(rwlock_t *rw)
{
#ifdef DEBUG_LOCKS
if ( rw->lock == 0 )
- printk("_read_unlock(): %s/%d (nip %08lX) lock %lx",
+ printk("_read_unlock(): %s/%d (nip %08lX) lock %lx\n",
current->comm,current->pid,current->tss.regs->nip,
rw->lock);
#endif /* DEBUG_LOCKS */
@@ -176,7 +176,7 @@ void _write_unlock(rwlock_t *rw)
{
#ifdef DEBUG_LOCKS
if ( !(rw->lock & (1<<31)) )
- printk("_write_lock(): %s/%d (nip %08lX) lock %lx",
+ printk("_write_lock(): %s/%d (nip %08lX) lock %lx\n",
current->comm,current->pid,current->tss.regs->nip,
rw->lock);
#endif /* DEBUG_LOCKS */