Fix SIGBUS on aarch64 26/7226/3
authorChristophe Fontaine <christophe.fontaine@enea.com>
Tue, 20 Jun 2017 11:57:47 +0000 (13:57 +0200)
committerDamjan Marion <dmarion.lists@gmail.com>
Thu, 29 Jun 2017 11:40:45 +0000 (11:40 +0000)
commit26054ea1d1bad8d0d383bac59bfbe50912aee146
treed6ecab240cfad5778691bd5842c1f499cb662009
parent5c20a0131a6a2516c14d5ccfc6db90fd13ec8a33
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 <christophe.fontaine@enea.com>
src/vnet/devices/devices.h