From 5216e6ad24fd30ae6e0c2037b2a653d462bd7ccd Mon Sep 17 00:00:00 2001 From: "A. Maitland Bottoms" Date: Sun, 27 Aug 2017 18:44:55 +0100 Subject: [PATCH] make acc happy The abi-compliance-checker grabs all the .h files it finds and tries to compile them all. Even though some are not appropriate for the architecture being run on. Being careful with preprocessor protections avoids probplems. Gbp-Pq: Name make-acc-happy --- include/volk/volk_neon_intrinsics.h | 2 ++ kernels/volk/volk_32f_8u_polarbutterflypuppet_32f.h | 1 + kernels/volk/volk_8u_x2_encodeframepolar_8u.h | 3 --- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/volk/volk_neon_intrinsics.h b/include/volk/volk_neon_intrinsics.h index 3f121a8..ef42dea 100644 --- a/include/volk/volk_neon_intrinsics.h +++ b/include/volk/volk_neon_intrinsics.h @@ -27,6 +27,7 @@ #ifndef INCLUDE_VOLK_VOLK_NEON_INTRINSICS_H_ #define INCLUDE_VOLK_VOLK_NEON_INTRINSICS_H_ +#ifdef LV_HAVE_NEON #include static inline float32x4_t @@ -119,4 +120,5 @@ _vlog2q_f32(float32x4_t aval) return log2_approx; } +#endif /*LV_HAVE_NEON*/ #endif /* INCLUDE_VOLK_VOLK_NEON_INTRINSICS_H_ */ diff --git a/kernels/volk/volk_32f_8u_polarbutterflypuppet_32f.h b/kernels/volk/volk_32f_8u_polarbutterflypuppet_32f.h index 49a3076..4f84352 100644 --- a/kernels/volk/volk_32f_8u_polarbutterflypuppet_32f.h +++ b/kernels/volk/volk_32f_8u_polarbutterflypuppet_32f.h @@ -31,6 +31,7 @@ #include #include #include +#include static inline void diff --git a/kernels/volk/volk_8u_x2_encodeframepolar_8u.h b/kernels/volk/volk_8u_x2_encodeframepolar_8u.h index 6a605c6..ff729a8 100644 --- a/kernels/volk/volk_8u_x2_encodeframepolar_8u.h +++ b/kernels/volk/volk_8u_x2_encodeframepolar_8u.h @@ -58,8 +58,6 @@ encodepolar_single_stage(unsigned char* frame_ptr, const unsigned char* temp_ptr } } -#ifdef LV_HAVE_GENERIC - static inline void volk_8u_x2_encodeframepolar_8u_generic(unsigned char* frame, unsigned char* temp, unsigned int frame_size) @@ -79,7 +77,6 @@ volk_8u_x2_encodeframepolar_8u_generic(unsigned char* frame, unsigned char* temp --stage; } } -#endif /* LV_HAVE_GENERIC */ #ifdef LV_HAVE_SSSE3 #include -- 2.30.2