Small tweaks. Added volatile to spin_lock typedef