projects
/
userspace-rcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rculfhash test: fix trivial memleak and return node leak and errors
[userspace-rcu.git]
/
tests
/
test_cycles_per_loop.c
diff --git
a/tests/test_cycles_per_loop.c
b/tests/test_cycles_per_loop.c
index 73980fa2214a0a30b1beea1ef68d44b30ee01baa..6ff100bf38b34e518d937d6bc34760db74c6b63b 100644
(file)
--- a/
tests/test_cycles_per_loop.c
+++ b/
tests/test_cycles_per_loop.c
@@
-25,9
+25,9
@@
#define NR_LOOPS 1000000UL
#define NR_LOOPS 1000000UL
-static inline void loop_sleep(unsigned long l)
+static inline void loop_sleep(unsigned long l
oops
)
{
{
- while
(l
-- != 0)
+ while
(loops
-- != 0)
caa_cpu_relax();
}
caa_cpu_relax();
}
This page took
0.026172 seconds
and
4
git commands to generate.