Changed type name of spinlock to remove  since that violates C standard for user space code