Fix lock -> unlock in synchronize_rcu
authorMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Mon, 9 Feb 2009 06:27:48 +0000 (01:27 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Mon, 9 Feb 2009 06:27:48 +0000 (01:27 -0500)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Makefile
urcu.c

index 8224567af8438f096c1529ef976958849e0bb8dd..566a9421e80aa29e907bf61eba9f4d906f20fc89 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -34,7 +34,7 @@ urcu-asm.o: urcu-asm.c urcu.h
        $(CC) ${CFLAGS} -c -o $@ $(SRC_DEP)
 
 #in progress...
-urcutorture.o: urcutorture.c urcu.o urcu.h rcutorture.h
+urcutorture: urcutorture.c urcu.o urcu.h rcutorture.h
        $(CC) ${CFLAGS} $(LDFLAGS) -o $@ $(SRC_DEP)
 
 .PHONY: clean
diff --git a/urcu.c b/urcu.c
index 9fde6238f695b06db846866a704f9ed595bd6d0c..5514b278e4322b0f600a6d3427eab700057dc573 100644 (file)
--- a/urcu.c
+++ b/urcu.c
@@ -147,7 +147,7 @@ void synchronize_rcu(void)
        debug_yield_write();
        switch_qparity();
        debug_yield_write();
-       internal_urcu_lock();
+       internal_urcu_unlock();
        debug_yield_write();
 }
 
This page took 0.02589 seconds and 4 git commands to generate.