]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_eal/ppc/rte_power_intrinsics.c
eal/windows: add missing SPDX license tag
[dpdk.git] / lib / librte_eal / ppc / rte_power_intrinsics.c
index 5e5a1fff5a7183c7ace57a1547875879f85139b6..7fc9586da7b06282a05ec01eca6fd26f31340683 100644 (file)
@@ -21,12 +21,9 @@ rte_power_monitor(const struct rte_power_monitor_cond *pmc,
  * This function is not supported on PPC64.
  */
 int
-rte_power_monitor_sync(const struct rte_power_monitor_cond *pmc,
-               const uint64_t tsc_timestamp, rte_spinlock_t *lck)
+rte_power_pause(const uint64_t tsc_timestamp)
 {
-       RTE_SET_USED(pmc);
        RTE_SET_USED(tsc_timestamp);
-       RTE_SET_USED(lck);
 
        return -ENOTSUP;
 }
@@ -35,9 +32,9 @@ rte_power_monitor_sync(const struct rte_power_monitor_cond *pmc,
  * This function is not supported on PPC64.
  */
 int
-rte_power_pause(const uint64_t tsc_timestamp)
+rte_power_monitor_wakeup(const unsigned int lcore_id)
 {
-       RTE_SET_USED(tsc_timestamp);
+       RTE_SET_USED(lcore_id);
 
        return -ENOTSUP;
 }