summaryrefslogtreecommitdiffstats
path: root/sys/powerpc
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2008-10-30 21:02:00 +0000
committersobomax <sobomax@FreeBSD.org>2008-10-30 21:02:00 +0000
commitae5a12cdf15120eb335030274f5cfa6220aec8d1 (patch)
tree1c42f4fdf516cb6068939695b4e89cb2f6b69337 /sys/powerpc
parent1893f5dd32563424602a59881645e7dc8bd57bec (diff)
downloadFreeBSD-src-ae5a12cdf15120eb335030274f5cfa6220aec8d1.zip
FreeBSD-src-ae5a12cdf15120eb335030274f5cfa6220aec8d1.tar.gz
Fix compilation in the case when kernel doesn't have KDB ebabled.
subr_kdb.c still references breakpoint() in this case.
Diffstat (limited to 'sys/powerpc')
-rw-r--r--sys/powerpc/include/cpufunc.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/powerpc/include/cpufunc.h b/sys/powerpc/include/cpufunc.h
index 7e35562..66b5df3 100644
--- a/sys/powerpc/include/cpufunc.h
+++ b/sys/powerpc/include/cpufunc.h
@@ -50,6 +50,13 @@ struct thread;
#ifdef KDB
void breakpoint(void);
+#else
+static __inline void
+breakpoint(void)
+{
+
+ return;
+}
#endif
/* CPU register mangling inlines */
OpenPOWER on IntegriCloud