7137a296dd
It cannot be moved to amd_device_functions.h because that causes circular dependences when trying to use the macro in other files. So we create a new header and move all assert/abort macros to that common header. As a side-effect, also fix the macro to correctly expand the entire condition argument, and also consume the trailing semicolon. Change-Id: I43688c8e61183503a3a1a039b91321a3779152af