svn commit: r209618 - head/sys/ia64/include

Marcel Moolenaar marcel at FreeBSD.org
Thu Jul 1 00:30:36 UTC 2010


Author: marcel
Date: Thu Jul  1 00:30:35 2010
New Revision: 209618
URL: http://svn.freebsd.org/changeset/base/209618

Log:
  When compiling with profiling, we define PROF for userspace and GPROF
  for the kernel.

Modified:
  head/sys/ia64/include/asm.h

Modified: head/sys/ia64/include/asm.h
==============================================================================
--- head/sys/ia64/include/asm.h	Wed Jun 30 22:29:02 2010	(r209617)
+++ head/sys/ia64/include/asm.h	Thu Jul  1 00:30:35 2010	(r209618)
@@ -43,7 +43,7 @@
 /*
  * MCOUNT
  */
-#if defined(GPROF)
+#if defined(PROF) || (defined(_KERNEL) && defined(GPROF))
 #define	MCOUNT					\
 	alloc	out0 = ar.pfs, 8, 0, 4, 0;	\
 	mov	out1 = r1;			\


More information about the svn-src-head mailing list