SWDEV-396657 - Using abort() instead of trap instruction to fix a compilation error
Change-Id: Ia6a3f58ca5891c5700dd7853e088c51fef1a1e09
This commit is contained in:
committed by
Sourabh Betigeri
parent
173de06658
commit
c46adc9b56
@@ -47,7 +47,7 @@ THE SOFTWARE.
|
||||
#endif
|
||||
|
||||
#define __hip_abort() \
|
||||
{ asm("trap;"); }
|
||||
{ abort(); }
|
||||
#if defined(NDEBUG)
|
||||
#define __hip_assert(COND)
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user