Make spinlocks reentrant.