test/cpuflags: add flags for RISC-V
[dpdk.git] / lib / rcu / rte_rcu_qsbr.h
index 18811c1..d81bf5e 100644 (file)
@@ -32,11 +32,7 @@ extern "C" {
 #include <stdbool.h>
 #include <stdio.h>
 #include <stdint.h>
-#include <inttypes.h>
-#include <errno.h>
 #include <rte_common.h>
-#include <rte_memory.h>
-#include <rte_lcore.h>
 #include <rte_debug.h>
 #include <rte_atomic.h>
 #include <rte_ring.h>
@@ -362,7 +358,7 @@ rte_rcu_qsbr_thread_offline(struct rte_rcu_qsbr *v, unsigned int thread_id)
 
        /* The reader can go offline only after the load of the
         * data structure is completed. i.e. any load of the
-        * data strcture can not move after this store.
+        * data structure can not move after this store.
         */
 
        __atomic_store_n(&v->qsbr_cnt[thread_id].cnt,