svn commit: r184486 - head/sys/powerpc/include
Maxim Sobolev
sobomax at FreeBSD.org
Thu Oct 30 14:02:00 PDT 2008
Author: sobomax
Date: Thu Oct 30 21:02:00 2008
New Revision: 184486
URL: http://svn.freebsd.org/changeset/base/184486
Log:
Fix compilation in the case when kernel doesn't have KDB ebabled.
subr_kdb.c still references breakpoint() in this case.
Modified:
head/sys/powerpc/include/cpufunc.h
Modified: head/sys/powerpc/include/cpufunc.h
==============================================================================
--- head/sys/powerpc/include/cpufunc.h Thu Oct 30 20:24:25 2008 (r184485)
+++ head/sys/powerpc/include/cpufunc.h Thu Oct 30 21:02:00 2008 (r184486)
@@ -50,6 +50,13 @@ struct thread;
#ifdef KDB
void breakpoint(void);
+#else
+static __inline void
+breakpoint(void)
+{
+
+ return;
+}
#endif
/* CPU register mangling inlines */
More information about the svn-src-all
mailing list