From 9541307fb796db1757a8e93b9a9465f8e2a47442 Mon Sep 17 00:00:00 2001 From: John-Mark Gurney Date: Thu, 5 Feb 2015 07:51:38 +0000 Subject: [PATCH] turn GEOM_UNCOMPRESS_DEBUG into a proper option so it can be specified in kernel config files.. put VERBOSE_SYSINIT in it's own option header so the one file, init_main.c, can use it instead of requiring an entire kernel recompile to change one file.. --- sys/conf/options | 3 ++- sys/kern/init_main.c | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/sys/conf/options b/sys/conf/options index c23f8f05fe08..d0037278db80 100644 --- a/sys/conf/options +++ b/sys/conf/options @@ -129,6 +129,7 @@ GEOM_SHSEC opt_geom.h GEOM_STRIPE opt_geom.h GEOM_SUNLABEL opt_geom.h GEOM_UNCOMPRESS opt_geom.h +GEOM_UNCOMPRESS_DEBUG opt_geom.h GEOM_UZIP opt_geom.h GEOM_VINUM opt_geom.h GEOM_VIRSTOR opt_geom.h @@ -209,7 +210,7 @@ SW_WATCHDOG opt_watchdog.h TURNSTILE_PROFILING UMTX_PROFILING VFS_AIO -VERBOSE_SYSINIT opt_global.h +VERBOSE_SYSINIT WLCACHE opt_wavelan.h WLDEBUG opt_wavelan.h diff --git a/sys/kern/init_main.c b/sys/kern/init_main.c index beb49bc56962..0cab45b05190 100644 --- a/sys/kern/init_main.c +++ b/sys/kern/init_main.c @@ -46,6 +46,7 @@ __FBSDID("$FreeBSD$"); #include "opt_ddb.h" #include "opt_init_path.h" +#include "opt_verbose_sysinit.h" #include #include