From: Mathieu Desnoyers Date: Mon, 9 Feb 2009 06:27:48 +0000 (-0500) Subject: Fix lock -> unlock in synchronize_rcu X-Git-Tag: v0.1~311 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=e7b43771a592802ff480a488afcfaf485f1a72aa;p=userspace-rcu.git Fix lock -> unlock in synchronize_rcu Signed-off-by: Mathieu Desnoyers --- diff --git a/Makefile b/Makefile index 8224567..566a942 100644 --- 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 9fde623..5514b27 100644 --- 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(); }