Daniel Verkamp ccf8cb1834 barrier: explicitly check for x86 architecture
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>
2017-11-09 12:38:05 -05:00
..
2017-10-23 11:50:16 -04:00
2017-08-02 19:47:35 -04:00
2017-07-12 18:12:52 -04:00
2017-10-27 13:10:21 -04:00
2017-10-10 10:56:34 -04:00
2017-09-26 14:28:24 -04:00
2017-08-15 16:47:01 -04:00
2017-08-11 19:36:30 -04:00
2017-10-31 18:28:21 -04:00
2017-10-27 13:06:40 -04:00