mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-20 23:35:02 +00:00
*sigh* Fix source code compatibility with 5.2.1-RELEASE _again_.
(Make kdb stuff conditional.)
This commit is contained in:
parent
ef6dea1404
commit
020732be39
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=132468
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue