From owner-svn-src-head@FreeBSD.ORG Thu Oct 30 21:02:00 2008 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BDBA51065678; Thu, 30 Oct 2008 21:02:00 +0000 (UTC) (envelope-from sobomax@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id AC2B28FC08; Thu, 30 Oct 2008 21:02:00 +0000 (UTC) (envelope-from sobomax@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id m9UL20md061671; Thu, 30 Oct 2008 21:02:00 GMT (envelope-from sobomax@svn.freebsd.org) Received: (from sobomax@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id m9UL20sH061670; Thu, 30 Oct 2008 21:02:00 GMT (envelope-from sobomax@svn.freebsd.org) Message-Id: <200810302102.m9UL20sH061670@svn.freebsd.org> From: Maxim Sobolev Date: Thu, 30 Oct 2008 21:02:00 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r184486 - head/sys/powerpc/include X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Oct 2008 21:02:00 -0000 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 */