[v2,2/5] eal/riscv/spinlock: add rte_cpuflag.h
Checks
Commit Message
From: Sun Yuechi <sunyuechi@iscas.ac.cn>
Same as the x86 style, include "rte_cpuflags.h" in rte_spinlock.h
so that files like lib/fib/dir24_8.c don’t need to include it.
Signed-off-by: Sun Yuechi <sunyuechi@iscas.ac.cn>
---
lib/eal/riscv/include/rte_spinlock.h | 1 +
1 file changed, 1 insertion(+)
@@ -14,6 +14,7 @@
#include <rte_common.h>
#include "generic/rte_spinlock.h"
+#include "rte_cpuflags.h"
#ifdef __cplusplus
extern "C" {