PERFORCE change 35276 for review
John Baldwin
jhb at FreeBSD.org
Thu Jul 31 11:45:47 PDT 2003
http://perforce.freebsd.org/chv.cgi?CH=35276
Change 35276 by jhb at jhb_laptop on 2003/07/31 11:45:34
Use td_oncpu rather than ke_oncpu.
Affected files ...
.. //depot/projects/smpng/sys/kern/subr_witness.c#101 edit
Differences ...
==== //depot/projects/smpng/sys/kern/subr_witness.c#101 (text+ko) ====
@@ -1617,10 +1617,9 @@
struct lock_instance *instance;
struct pcpu *pc;
- if (owner->td_critnest == 0 || owner->td_kse != NULL ||
- owner->td_kse->ke_oncpu == NOCPU)
+ if (owner->td_critnest == 0 || owner->td_oncpu == NOCPU)
return;
- pc = pcpu_find(owner->td_kse->ke_oncpu);
+ pc = pcpu_find(owner->td_oncpu);
instance = find_instance(pc->pc_spinlocks, lock);
if (instance != NULL)
witness_list_lock(instance);
More information about the p4-projects
mailing list