Fix typos in nOS-V kernel test

This commit is contained in:
Rodrigo Arias 2024-07-31 14:47:12 +02:00 committed by Rodrigo Arias Mallo
parent a47082730a
commit 4c3da12ea1

View File

@ -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");
} }