sys_spinlock implemented