summaryrefslogtreecommitdiffstats
path: root/sys/conf
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2015-09-08 08:50:28 +0000
committerngie <ngie@FreeBSD.org>2015-09-08 08:50:28 +0000
commita381e329b4b8541ba8713deb920218e81f09853e (patch)
treeba5d5daa0f19eacf18c9378fb64c73874e45195e /sys/conf
parentb522c482ce6b0cc8601a1552392c4fec6a4169e5 (diff)
downloadFreeBSD-src-a381e329b4b8541ba8713deb920218e81f09853e.zip
FreeBSD-src-a381e329b4b8541ba8713deb920218e81f09853e.tar.gz
Remove opt_random.h header pollution from sys/random.h by moving
RANDOM_LOADABLE and RANDOM_YARROW's definitions from opt_random.h to opt_global.h This unbreaks `make depend` in sys/modules with multiple drivers (tmpfs, etc) after r286839 X-MFC with: r286839 Reviewed by: imp Submitted by: lwhsu Differential Revision: D3486
Diffstat (limited to 'sys/conf')
-rw-r--r--sys/conf/options4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/conf/options b/sys/conf/options
index 936abc9..ccbbd80 100644
--- a/sys/conf/options
+++ b/sys/conf/options
@@ -947,11 +947,11 @@ RCTL opt_global.h
# Random number generator(s)
# Which CSPRNG hash we get.
# If Yarrow is not chosen, Fortuna is selected.
-RANDOM_YARROW opt_random.h
+RANDOM_YARROW opt_global.h
# With this, no entropy processor is loaded, but the entropy
# harvesting infrastructure is present. This means an entropy
# processor may be loaded as a module.
-RANDOM_LOADABLE opt_random.h
+RANDOM_LOADABLE opt_global.h
# This turns on high-rate and potentially expensive harvesting in
# the uma slab allocator.
RANDOM_ENABLE_UMA opt_global.h
OpenPOWER on IntegriCloud