Define the kld_debug variable if KLD_DEBUG is enabled

This commit is contained in:
Peter Wemm 1998-11-06 15:10:17 +00:00
parent c7ebbf37a8
commit 21ce23eb91

View File

@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: kern_linker.c,v 1.13 1998/11/03 14:27:05 peter Exp $
* $Id: kern_linker.c,v 1.14 1998/11/04 15:20:56 peter Exp $
*/
#include "opt_ddb.h"
@ -47,6 +47,10 @@
#include <sys/vnode.h>
#include <sys/sysctl.h>
#ifdef KLD_DEBUG
int kld_debug = 0;
#endif
MALLOC_DEFINE(M_LINKER, "kld", "kernel linker");
linker_file_t linker_current_file;
linker_file_t linker_kernel_file;