+8
−2
Loading
Prepare for the addition of more architectures by replacing the #else case with an explicit x86 check, and add a final #else to trigger a compile-time error if the architecture is not supported. This adds a empty #defines of spdk_wmb() and spdk_mb() in the #else error case so that they still show up in the generated Doxygen output. Change-Id: Ia9e9de1648694013de1cd8a2e3edfa9b1166401c Signed-off-by:Daniel Verkamp <daniel.verkamp@intel.com> Reviewed-on: https://review.gerrithub.io/386345 Tested-by:
SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by:
Ben Walker <benjamin.walker@intel.com> Reviewed-by:
Ziye Yang <optimistyzy@gmail.com> Reviewed-by:
Jim Harris <james.r.harris@intel.com>