patch-2.3.16 linux/arch/ppc/lib/locks.c
Next file: linux/arch/ppc/math-emu/Makefile
Previous file: linux/arch/ppc/kernel/traps.c
Back to the patch index
Back to the overall index
- Lines: 43
- Date:
Tue Aug 31 11:36:43 1999
- Orig file:
v2.3.15/linux/arch/ppc/lib/locks.c
- Orig date:
Wed Mar 10 21:30:32 1999
diff -u --recursive --new-file v2.3.15/linux/arch/ppc/lib/locks.c linux/arch/ppc/lib/locks.c
@@ -1,5 +1,5 @@
/*
- * $Id: locks.c,v 1.23 1999/02/12 07:06:32 cort Exp $
+ * $Id: locks.c,v 1.24 1999/08/03 19:16:47 cort Exp $
*
* Locks for smp ppc
*
@@ -113,7 +113,7 @@
#ifdef DEBUG_LOCKS
if ( rw->lock == 0 )
printk("_read_unlock(): %s/%d (nip %08lX) lock %lx\n",
- current->comm,current->pid,current->tss.regs->nip,
+ current->comm,current->pid,current->thread.regs->nip,
rw->lock);
#endif /* DEBUG_LOCKS */
wmb();
@@ -173,7 +173,7 @@
#ifdef DEBUG_LOCKS
if ( !(rw->lock & (1<<31)) )
printk("_write_lock(): %s/%d (nip %08lX) lock %lx\n",
- current->comm,current->pid,current->tss.regs->nip,
+ current->comm,current->pid,current->thread.regs->nip,
rw->lock);
#endif /* DEBUG_LOCKS */
wmb();
@@ -189,7 +189,7 @@
if ( (signed long)(task->lock_depth) < 0 )
{
printk("__lock_kernel(): %s/%d (nip %08lX) lock depth %x\n",
- task->comm,task->pid,task->tss.regs->nip,
+ task->comm,task->pid,task->thread.regs->nip,
task->lock_depth);
}
#endif /* DEBUG_LOCKS */
@@ -219,7 +219,7 @@
{
printk("__unlock_kernel(): %s/%d (nip %08lX) "
"lock depth %x flags %lx\n",
- task->comm,task->pid,task->tss.regs->nip,
+ task->comm,task->pid,task->thread.regs->nip,
task->lock_depth, klock_info.kernel_flag);
klock_info.akp = NO_PROC_ID;
klock_info.kernel_flag = 0;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)