Fix typos in nOS-V kernel test
This commit is contained in:
parent
a47082730a
commit
4c3da12ea1
@ -24,9 +24,8 @@ task_run(nosv_task_t task)
|
|||||||
|
|
||||||
for (unsigned long i = 1; i <= ncs; i++) {
|
for (unsigned long i = 1; i <= ncs; i++) {
|
||||||
nanosleep(&one_ns, NULL);
|
nanosleep(&one_ns, NULL);
|
||||||
/* Make a total of 16 waitfor calls to flush the ring buffer */
|
|
||||||
if (i % nflush == 0) {
|
if (i % nflush == 0) {
|
||||||
info("flusing at %lu", i);
|
info("flushing at %lu", i);
|
||||||
if (nosv_waitfor(1, NULL) != 0)
|
if (nosv_waitfor(1, NULL) != 0)
|
||||||
die("nosv_waitfor failed");
|
die("nosv_waitfor failed");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user