1 struct spinlock { 2 unsigned int locked; 3 struct proc *p; 4 int count; 5 unsigned locker_pc; 6 }; 7