From 450e0809de8b426627bb81b2dbe7c419c7288dcd Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Sat, 16 Jun 2018 11:36:27 -0600 Subject: [PATCH] sched/Kconfig: Add a dependency --- sched/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sched/Kconfig b/sched/Kconfig index f6ea30c099..70c5b876fb 100644 --- a/sched/Kconfig +++ b/sched/Kconfig @@ -716,6 +716,7 @@ config CPULOAD_ONESHOT_ENTROPY int "Bits of entropy" default 6 range 0 30 + depends on CPULOAD_ONESHOT ---help--- This is the number of bits of entropy that will be applied. The oneshot will be set to this interval: @@ -728,8 +729,7 @@ config CPULOAD_ONESHOT_ENTROPY CPULOAD_ONESHOT_NOMINAL is the nominal sample internval implied by CONFIG_SCHED_CPULOAD_TICKSPERSEC in units of microseconds. CPULOAD_ONESHOT_ENTROPY is (1 << CONFIG_CPULOAD_ONESHOT_ENTROPY), - and - 'error' is an error value that is retained from interval to + and 'error' is an error value that is retained from interval to interval so that although individual intervals are randomized, the average will still be CONFIG_SCHED_CPULOAD_TICKSPERSEC.