Date: Thu, 30 Oct 2008 21:02:00 +0000 (UTC) From: Maxim Sobolev <sobomax@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r184486 - head/sys/powerpc/include Message-ID: <200810302102.m9UL20sH061670@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200810302102.m9UL20sH061670>