diff src/spinlock.c @ 37:fb3e5a2f76c1

fix
author mir3636
date Fri, 22 Feb 2019 22:36:17 +0900
parents ad1d3b268e2d
children
line wrap: on
line diff
--- a/src/spinlock.c	Fri Feb 22 22:15:33 2019 +0900
+++ b/src/spinlock.c	Fri Feb 22 22:36:17 2019 +0900
@@ -46,6 +46,7 @@
 #endif
 }
 
+/*
 void cbc_acquire(struct spinlock *lk, __code (*next)(int ret))
 {
     pushcli();		// disable interrupts to avoid deadlock.
@@ -68,7 +69,9 @@
 #endif
     goto next();
 }
+*/
 
+/*
 // Release the lock.
 void cbc_release(struct spinlock *lk, __code (*next)(int ret))
 {
@@ -95,6 +98,7 @@
     popcli();
     goto next();
 }
+*/
 
 void release(struct spinlock *lk)
 {