/* This file provides the machine-dependent definitions of the _MCOUNT_DECL
and MCOUNT macros. */
-#include "machine-gmon.h"
+#include <machine-gmon.h>
#include <atomic.h>
* check that we are profiling
* and that we aren't recursively invoked.
*/
- if (atomic_compare_and_exchange_acq (&p->state, GMON_PROF_BUSY,
- GMON_PROF_ON))
+ if (catomic_compare_and_exchange_bool_acq (&p->state, GMON_PROF_BUSY,
+ GMON_PROF_ON))
return;
/*