*sigh* Fix source code compatibility with 5.2.1-RELEASE _again_.

(Make kdb stuff conditional.)
This commit is contained in:
Bill Paul 2004-07-20 20:28:57 +00:00
parent ef6dea1404
commit 020732be39
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=132468

View file

@ -44,7 +44,9 @@ __FBSDID("$FreeBSD$");
#include <sys/mutex.h>
#include <sys/callout.h>
#if __FreeBSD_version > 502113
#include <sys/kdb.h>
#endif
#include <sys/kernel.h>
#include <sys/proc.h>
#include <sys/kthread.h>
@ -1634,7 +1636,11 @@ __stdcall static void
ntoskrnl_debugger(void)
{
#if __FreeBSD_version < 502113
Debugger("ntoskrnl_debugger(): breakpoint");
#else
kdb_enter("ntoskrnl_debugger(): breakpoint");
#endif
}
static void