- add a LOCK_PROFILING knob to control whether the locking primitives   are made inline (preprocessor macro) or a routine - factor a bunch of code - fix a number of typos, copy/pastos
- add a LOCK_PROFILING knob to control whether the locking primitives
  are made inline (preprocessor macro) or a routine
- factor a bunch of code
- fix a number of typos, copy/pastos

i'd really rather phase this implementation out.  despite not having
the new lock profiling capability, spinlock.h is a lot better.  ASM
is bad, mmmkay?


git-svn-id: f2acecaac6fbd5a03f3d4799db58dda434111981@8583 3eda493b-6a19-0410-b2e0-ec8ea4dd8fda

pscedu/slash2-stable,pscedu/pfl,pscedu/slash2-stable,pscedu/pfl,pscedu/slash2-stable,pscedu/slash2-stable,pscedu/slash2-stable,pscedu/slash2-stable,pscedu/pfl,pscedu/pfl,pscedu/slash2-stable