Fix DT_UNKNOWN description
[platform/upstream/glibc.git] / gmon / mcount.c
index c146650..5a4a249 100644 (file)
@@ -37,7 +37,7 @@ static char sccsid[] = "@(#)mcount.c  8.1 (Berkeley) 6/4/93";
 
 /* 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>
 
@@ -69,8 +69,8 @@ _MCOUNT_DECL(frompc, selfpc)  /* _mcount; may be static, inline, etc */
         * 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;
 
        /*