diff options
author | sobomax <sobomax@FreeBSD.org> | 2008-10-30 21:02:00 +0000 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2008-10-30 21:02:00 +0000 |
commit | ae5a12cdf15120eb335030274f5cfa6220aec8d1 (patch) | |
tree | 1c42f4fdf516cb6068939695b4e89cb2f6b69337 | |
parent | 1893f5dd32563424602a59881645e7dc8bd57bec (diff) | |
download | FreeBSD-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.
-rw-r--r-- | sys/powerpc/include/cpufunc.h | 7 |
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 */ |