aboutsummaryrefslogtreecommitdiffstats
path: root/vppinfra
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2016-03-14 20:02:35 +0100
committerDamjan Marion <damarion@cisco.com>2016-03-14 20:43:12 +0100
commitb8abf877ba27098ca706281182cac67e15d7dd1e (patch)
tree35bdd7f7c3ef3254cb1aa24fc7b50e84a54b5a70 /vppinfra
parent8941ec2cb4ff29dbf167e3b80e09a70c9164cc19 (diff)
Declare node, hw_interface_class and device_class instances as external
This fixes issue observed on Ubuntu 16.04 where dynamic loader is not finding correct instance of specific structure. Change-Id: I618d0933c7e171b8a9b40495b36894785af7790a Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'vppinfra')
-rw-r--r--vppinfra/vppinfra/vector_sse2.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/vppinfra/vppinfra/vector_sse2.h b/vppinfra/vppinfra/vector_sse2.h
index ae3f342abf8..23254fb94ee 100644
--- a/vppinfra/vppinfra/vector_sse2.h
+++ b/vppinfra/vppinfra/vector_sse2.h
@@ -474,7 +474,7 @@ i32x4_get0 (i32x4 x)
always_inline u32 u8x16_compare_byte_mask (u8x16 x)
{ return _mm_movemask_epi8 ((__m128i) x); }
-u8 u32x4_compare_word_mask_table[256];
+extern u8 u32x4_compare_word_mask_table[256];
always_inline u32 u32x4_compare_word_mask (u32x4 x)
{