eal: use callbacks for power monitoring comparison
[dpdk.git] / drivers / event / dlb2 / pf / dlb2_main.h
index f082a94..9eeda48 100644 (file)
 #include <rte_spinlock.h>
 #include <rte_pci.h>
 #include <rte_bus_pci.h>
-
-#ifndef PAGE_SIZE
-#define PAGE_SIZE (sysconf(_SC_PAGESIZE))
-#endif
+#include <rte_eal_paging.h>
 
 #include "base/dlb2_hw_types.h"
 #include "../dlb2_user.h"
@@ -38,7 +35,6 @@ struct dlb2_dev {
         * hardware registers.
         */
        rte_spinlock_t resource_mutex;
-       rte_spinlock_t measurement_lock;
        bool worker_launched;
        u8 revision;
 };