eal: move CPU flag functions out of headers
[dpdk.git] / lib / librte_eal / common / include / arch / tile / rte_cpuflags.h
index a415857..1849b52 100644 (file)
 extern "C" {
 #endif
 
-#include <elf.h>
-#include <fcntl.h>
-#include <assert.h>
-#include <unistd.h>
-
-#include "generic/rte_cpuflags.h"
-
-/* software based registers */
-enum cpu_register_t {
-       REG_DUMMY = 0
-};
-
 /**
  * Enumeration of all CPU features supported
  */
@@ -56,24 +44,7 @@ enum rte_cpu_flag_t {
        RTE_CPUFLAG_NUMFLAGS /**< This should always be the last! */
 };
 
-/*
- * Read AUXV software register and get cpu features for Power
- */
-static inline void
-rte_cpu_get_features(__attribute__((unused)) uint32_t leaf,
-                    __attribute__((unused)) uint32_t subleaf,
-                    __attribute__((unused)) cpuid_registers_t out)
-{
-}
-
-/*
- * Checks if a particular flag is available on current machine.
- */
-static inline int
-rte_cpu_get_flag_enabled(__attribute__((unused)) enum rte_cpu_flag_t feature)
-{
-       return -ENOENT;
-}
+#include "generic/rte_cpuflags.h"
 
 #ifdef __cplusplus
 }