Remove code that isn't required. It actually breaks the case where KDTRACE_HOOKS
is defined and KDB isn't. This is the case that it was intended for.
This commit is contained in:
parent
a0b454dc4b
commit
5d846378f7
@ -106,15 +106,3 @@ init_dtrace(void *dummy __unused)
|
||||
}
|
||||
|
||||
SYSINIT(kdtrace, SI_SUB_KDTRACE, SI_ORDER_FIRST, init_dtrace, NULL);
|
||||
|
||||
#ifndef KDB
|
||||
/*
|
||||
* This is a stub for the kernel debugger for the DTrace actions to call
|
||||
* when the kernel has been built without KDB.
|
||||
*/
|
||||
void
|
||||
kdb_enter(const char *why, const char *msg)
|
||||
{
|
||||
printf("Cannot enter kernel debugger - No KDB in kernel.\n%s - %s\n", why, msg);
|
||||
}
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user