arch: raise an error when compiling for an unknown ARM platform
authorSitsofe Wheeler <sitsofe@yahoo.com>
Sun, 9 Jul 2017 07:32:47 +0000 (08:32 +0100)
committerSitsofe Wheeler <sitsofe@yahoo.com>
Thu, 27 Jul 2017 05:15:00 +0000 (06:15 +0100)
commit4dbc7d3b076caf854e69e40e5fee8eb9994e9df3
tree0472d02f00ec9531ab749b8af1a93744fa1f355a
parent1236d61cdd1079c78985fe14ea4389c9bbdb1b00
arch: raise an error when compiling for an unknown ARM platform

The nop, read_barrier() and write_barrier() macros have to always be
defined but due to the way os/arch-arm.h is written it is possible for
them to be undefined when the ARM platform is not recognized.

Change things so compiling for an unknown ARM platform raises an
explicit compilation error at the point of the problem.

Signed-off-by: Sitsofe Wheeler <sitsofe@yahoo.com>
arch/arch-arm.h