From 1f50af6cc73dd820b7a2a9bc12d1d365bfe8dfd9 Mon Sep 17 00:00:00 2001 From: Patrice Buriez Date: Wed, 30 Nov 2022 13:05:50 +0000 Subject: Fix linker errors with recent GNU ld observed with: - GNU ld 2.35 (gcc 11.3.1) on CentOS Stream release 9 - GNU ld 2.38 (gcc 11.3.0) on Ubuntu 22.04.1 LTS - GNU ld 2.39 (gcc 12.2.0) on Ubuntu 22.10 Signed-off-by: Patrice Buriez Change-Id: Ie7d7a4f6c4c5f82e68d2ca4e32f96972933d190f --- VNFs/DPPD-PROX/handle_irq.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'VNFs/DPPD-PROX/handle_irq.c') diff --git a/VNFs/DPPD-PROX/handle_irq.c b/VNFs/DPPD-PROX/handle_irq.c index 00c192f6..36aa54e8 100644 --- a/VNFs/DPPD-PROX/handle_irq.c +++ b/VNFs/DPPD-PROX/handle_irq.c @@ -26,7 +26,10 @@ #include "input.h" #define MAX_INTERRUPT_LENGTH 500000 /* Maximum length of an interrupt is (1 / MAX_INTERRUPT_LENGTH) seconds */ + +uint64_t irq_bucket_maxtime_cycles[IRQ_BUCKETS_COUNT]; uint64_t irq_bucket_maxtime_micro[] = {1,5,10,50,100,500,1000,5000,10000,50000,100000,500000,UINT64_MAX}; + /* * This module is not handling any packets. * It loops on rdtsc() and checks whether it has been interrupted -- cgit 1.2.3-korg