X-Git-Url: https://git.lttng.org/?p=urcu.git;a=blobdiff_plain;f=tests%2Ftest_urcu_wfs.c;h=66710e2b688123a1b0ce5d672b55e3d6f7f33b04;hp=be099449a78c6845f2af1eaefc6bc18d0c8ff6df;hb=ab0aacbe1a25d50d069f0b24aa492e84ea296f57;hpb=cd44283e7157831c93aaa2e4386b3b7e3ce73b26 diff --git a/tests/test_urcu_wfs.c b/tests/test_urcu_wfs.c index be09944..66710e2 100644 --- a/tests/test_urcu_wfs.c +++ b/tests/test_urcu_wfs.c @@ -77,9 +77,9 @@ static unsigned long duration; /* read-side C.S. duration, in loops */ static unsigned long wdelay; -static inline void loop_sleep(unsigned long l) +static inline void loop_sleep(unsigned long loops) { - while(l-- != 0) + while (loops-- != 0) caa_cpu_relax(); }