]> git.droids-corp.org - dpdk.git/blobdiff - test/test/test_spinlock.c
doc: add inline crypto feature
[dpdk.git] / test / test / test_spinlock.c
index 2d94eecc21a99a299423002043d36b43886df864..bb34e0c64e8724e85698257c45bc8d3b801b21a4 100644 (file)
 
 #include <rte_common.h>
 #include <rte_memory.h>
-#include <rte_memzone.h>
 #include <rte_per_lcore.h>
 #include <rte_launch.h>
 #include <rte_eal.h>
-#include <rte_per_lcore.h>
 #include <rte_lcore.h>
 #include <rte_cycles.h>
 #include <rte_spinlock.h>
@@ -202,7 +200,7 @@ test_spinlock_perf(void)
 
 /*
  * Use rte_spinlock_trylock() to trylock a spinlock object,
- * If it could not lock the object sucessfully, it would
+ * If it could not lock the object successfully, it would
  * return immediately and the variable of "count" would be
  * increased by one per times. the value of "count" could be
  * checked as the result later.