sys-power/powertop: NO_HZ_IDLE replaces deprecated NO_HZ Kernel option
authorElias Probst <mail@eliasprobst.eu>
Sun, 14 May 2017 11:03:35 +0000 (13:03 +0200)
committerMichał Górny <mgorny@gentoo.org>
Sun, 4 Jun 2017 15:27:00 +0000 (17:27 +0200)
Per docs, NO_HZ_IDLE has replaced old behavior of NO_HZ in 3.10.

Bug: https://bugs.gentoo.org/575418
Closes: https://github.com/gentoo/gentoo/pull/4626
Package-Manager: Portage-2.3.5, Repoman-2.3.2

sys-power/powertop/powertop-2.8.ebuild
sys-power/powertop/powertop-9999.ebuild

index 78d952987547a24429a16c8f6a24552f44588dbb..d206d473bc11eb1fbae7448a5ef7f22eef1144b7 100644 (file)
@@ -44,7 +44,7 @@ pkg_setup() {
                ~DEBUG_FS
                ~PERF_EVENTS
                ~TRACEPOINTS
-               ~NO_HZ
+               ~NO_HZ_IDLE
                ~HIGH_RES_TIMERS
                ~HPET_TIMER
                ~CPU_FREQ_STAT
@@ -58,7 +58,7 @@ pkg_setup() {
        ERROR_KERNEL_DEBUG_FS="DEBUG_FS is not enabled in the kernel, you almost certainly need it"
        ERROR_KERNEL_PERF_EVENTS="PERF_EVENTS should be enabled in the kernel for full powertop function"
        ERROR_KERNEL_TRACEPOINTS="TRACEPOINTS should be enabled in the kernel for full powertop function"
-       ERROR_KERNEL_NO_HZ="NO_HZ should be enabled in the kernel for full powertop function"
+       ERROR_KERNEL_NO_HZ_IDLE="NO_HZ_IDLE should be enabled in the kernel for full powertop function"
        ERROR_KERNEL_HIGH_RES_TIMERS="HIGH_RES_TIMERS should be enabled in the kernel for full powertop function"
        ERROR_KERNEL_HPET_TIMER="HPET_TIMER should be enabled in the kernel for full powertop function"
        ERROR_KERNEL_CPU_FREQ_STAT="CPU_FREQ_STAT should be enabled in the kernel for full powertop function"
index 5535e7a1d2e9754ca0305dbcd2cbb734b0e21cf4..69c60eb066cb3de0693bc1e144296dd73c2982d6 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
@@ -42,7 +42,7 @@ pkg_setup() {
                ~DEBUG_FS
                ~PERF_EVENTS
                ~TRACEPOINTS
-               ~NO_HZ
+               ~NO_HZ_IDLE
                ~HIGH_RES_TIMERS
                ~HPET_TIMER
                ~CPU_FREQ_STAT
@@ -56,7 +56,7 @@ pkg_setup() {
        ERROR_KERNEL_DEBUG_FS="DEBUG_FS is not enabled in the kernel, you almost certainly need it"
        ERROR_KERNEL_PERF_EVENTS="PERF_EVENTS should be enabled in the kernel for full powertop function"
        ERROR_KERNEL_TRACEPOINTS="TRACEPOINTS should be enabled in the kernel for full powertop function"
-       ERROR_KERNEL_NO_HZ="NO_HZ should be enabled in the kernel for full powertop function"
+       ERROR_KERNEL_NO_HZ_IDLE="NO_HZ_IDLE should be enabled in the kernel for full powertop function"
        ERROR_KERNEL_HIGH_RES_TIMERS="HIGH_RES_TIMERS should be enabled in the kernel for full powertop function"
        ERROR_KERNEL_HPET_TIMER="HPET_TIMER should be enabled in the kernel for full powertop function"
        ERROR_KERNEL_CPU_FREQ_STAT="CPU_FREQ_STAT should be enabled in the kernel for full powertop function"