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 */
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to