From 4e313b699e9c2c3bd2751179ea2d5a2a981e54dd Mon Sep 17 00:00:00 2001 From: Max Khon Date: Sun, 6 Nov 2011 08:10:41 +0000 Subject: [PATCH] Add KLD_DEBUG option. --- sys/conf/options | 1 + sys/kern/kern_linker.c | 1 + 2 files changed, 2 insertions(+) diff --git a/sys/conf/options b/sys/conf/options index a7f12124d9cd..6ddecb8f7f53 100644 --- a/sys/conf/options +++ b/sys/conf/options @@ -59,6 +59,7 @@ GDB KDB opt_global.h KDB_TRACE opt_kdb.h KDB_UNATTENDED opt_kdb.h +KLD_DEBUG opt_kld.h SYSCTL_DEBUG opt_sysctl.h # Miscellaneous options. diff --git a/sys/kern/kern_linker.c b/sys/kern/kern_linker.c index 5c5bfbd005ef..d7e5ade1ca53 100644 --- a/sys/kern/kern_linker.c +++ b/sys/kern/kern_linker.c @@ -28,6 +28,7 @@ __FBSDID("$FreeBSD$"); #include "opt_ddb.h" +#include "opt_kld.h" #include "opt_hwpmc_hooks.h" #include