From: Christophe Fontaine Date: Tue, 20 Jun 2017 11:57:47 +0000 (+0200) Subject: Fix SIGBUS on aarch64 X-Git-Tag: v17.10-rc1~389 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F26%2F7226%2F3;p=vpp.git Fix SIGBUS on aarch64 A call to 'clib_smp_swap (&((dq)->interrupt_pending), 0)' was creating a SIGBUS. Instead of making dq->interrupt_pending aligned on 64bits, we reduce the size from uword (u64) to u32, as the number of pending interrupts will never go above max of u32. Change-Id: Ifa5a6d3b7adee222329a671be01305cf50853b33 Signed-off-by: Christophe Fontaine --- diff --git a/src/vnet/devices/devices.h b/src/vnet/devices/devices.h index f1f7e778460..b74e3713dfc 100644 --- a/src/vnet/devices/devices.h +++ b/src/vnet/devices/devices.h @@ -61,7 +61,7 @@ typedef struct u32 dev_instance; u16 queue_id; vnet_hw_interface_rx_mode mode; - uword interrupt_pending; + u32 interrupt_pending; } vnet_device_and_queue_t; typedef struct