aboutsummaryrefslogtreecommitdiff
path: root/platform/linux-generic/odp_schedule_sp.c
diff options
context:
space:
mode:
Diffstat (limited to 'platform/linux-generic/odp_schedule_sp.c')
-rw-r--r--platform/linux-generic/odp_schedule_sp.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/platform/linux-generic/odp_schedule_sp.c b/platform/linux-generic/odp_schedule_sp.c
index 470075cea..f5aba1a88 100644
--- a/platform/linux-generic/odp_schedule_sp.c
+++ b/platform/linux-generic/odp_schedule_sp.c
@@ -20,10 +20,12 @@
#include <odp/api/plat/time_inlines.h>
#include <odp/api/schedule.h>
#include <odp/api/shared_memory.h>
+
#include <odp_schedule_if.h>
#include <odp_debug_internal.h>
#include <odp_align_internal.h>
#include <odp_config_internal.h>
+#include <odp_event_internal.h>
#include <odp_ring_u32_internal.h>
#include <odp_timer_internal.h>
#include <odp_queue_basic_internal.h>
@@ -600,7 +602,7 @@ static uint64_t schedule_wait_time(uint64_t ns)
}
static inline void enqueue_packets(odp_queue_t queue,
- odp_buffer_hdr_t *hdr_tbl[], int num_pkt)
+ _odp_event_hdr_t *hdr_tbl[], int num_pkt)
{
int num_enq, num_drop;
@@ -644,7 +646,7 @@ static int schedule_multi(odp_queue_t *from, uint64_t wait,
cmd = sched_cmd();
if (cmd && cmd->s.type == CMD_PKTIO) {
- odp_buffer_hdr_t *hdr_tbl[CONFIG_BURST_SIZE];
+ _odp_event_hdr_t *hdr_tbl[CONFIG_BURST_SIZE];
int i;
int num_pkt = 0;
int max_num = CONFIG_BURST_SIZE;