diff options
Diffstat (limited to 'test/test/test_distributor_perf.c')
-rw-r--r-- | test/test/test_distributor_perf.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/test/test_distributor_perf.c b/test/test/test_distributor_perf.c index 7d69887b..4a62a922 100644 --- a/test/test/test_distributor_perf.c +++ b/test/test/test_distributor_perf.c @@ -60,7 +60,7 @@ struct worker_stats worker_stats[RTE_MAX_LCORE]; * worker thread used for testing the time to do a round-trip of a cache * line between two cores and back again */ -static void +static int flip_bit(volatile uint64_t *arg) { uint64_t old_val = 0; @@ -70,6 +70,7 @@ flip_bit(volatile uint64_t *arg) old_val = *arg; *arg = 0; } + return 0; } /* |