diff options
author | Mitchell Horne <mhorne@FreeBSD.org> | 2020-10-15 20:21:15 +0000 |
---|---|---|
committer | Mitchell Horne <mhorne@FreeBSD.org> | 2020-10-15 20:21:15 +0000 |
commit | ce4900bc8adfa34bae6d3ac01ff71ee07e32ec2a (patch) | |
tree | d10722424cc23ccf944b5a6b15a83a1a2d44f8d7 /sys/amd64 | |
parent | a98fa52ec6a656f9b1d8c4b00722ebba15a0efef (diff) | |
download | src-test-ce4900bc8adfa34bae6d3ac01ff71ee07e32ec2a.tar.gz src-test-ce4900bc8adfa34bae6d3ac01ff71ee07e32ec2a.zip |
Simplify preload_dump() condition
Hiding this feature behind RB_VERBOSE is gratuitous. The tunable is enough
to limit its use to only those who explicitly request it.
Suggested by: kevans
Notes
Notes:
svn path=/head/; revision=366737
Diffstat (limited to 'sys/amd64')
-rw-r--r-- | sys/amd64/amd64/machdep.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/amd64/amd64/machdep.c b/sys/amd64/amd64/machdep.c index a6f725ebdcb45..28380bf10f210 100644 --- a/sys/amd64/amd64/machdep.c +++ b/sys/amd64/amd64/machdep.c @@ -1859,8 +1859,7 @@ hammer_time(u_int64_t modulep, u_int64_t physfree) * output is required. If it's grossly incorrect the kernel will never * make it this far. */ - if ((boothowto & RB_VERBOSE) && - getenv_is_true("debug.dump_modinfo_at_boot")) + if (getenv_is_true("debug.dump_modinfo_at_boot")) preload_dump(); #ifdef DEV_ISA |