From 26054ea1d1bad8d0d383bac59bfbe50912aee146 Mon Sep 17 00:00:00 2001 From: Christophe Fontaine Date: Tue, 20 Jun 2017 13:57:47 +0200 Subject: 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 --- src/vnet/devices/devices.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/vnet/devices/devices.h') 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 -- cgit 1.2.3-korg