summaryrefslogtreecommitdiff
path: root/spinlock.h
blob: a720b2462019b77ecbd42a5ee8f01bd08da0e6b8 (plain)
1
2
3
4
5
6
struct spinlock {
  unsigned int locked;
  unsigned who;
  int count;
  unsigned locker_pc;
};