svn commit: r184316 - head/sys/powerpc/include

Marcel Moolenaar marcel at FreeBSD.org
Sun Oct 26 17:26:07 PDT 2008


Author: marcel
Date: Mon Oct 27 00:26:07 2008
New Revision: 184316
URL: http://svn.freebsd.org/changeset/base/184316

Log:
  Declare btext and etext. Needed by sys/kern/subr_prof.c for
  for kernel profiling.

Modified:
  head/sys/powerpc/include/cpu.h

Modified: head/sys/powerpc/include/cpu.h
==============================================================================
--- head/sys/powerpc/include/cpu.h	Mon Oct 27 00:23:09 2008	(r184315)
+++ head/sys/powerpc/include/cpu.h	Mon Oct 27 00:26:07 2008	(r184316)
@@ -69,6 +69,9 @@ get_cyclecount(void)
 #define	cpu_getstack(td)	((td)->td_frame->fixreg[1])
 #define	cpu_spinwait()		/* nothing */
 
+extern char btext[];
+extern char etext[];
+
 void	cpu_halt(void);
 void	cpu_reset(void);
 void	fork_trampoline(void);


More information about the svn-src-all mailing list