commit:     67c474ad822b8c40640e65aceb1fe6dfbe6caa1f
Author:     Elias Probst <mail <AT> eliasprobst <DOT> eu>
AuthorDate: Sun May 14 11:03:35 2017 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Jun  4 15:27:00 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67c474ad

sys-power/powertop: NO_HZ_IDLE replaces deprecated NO_HZ Kernel option

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  | 4 ++--
 sys-power/powertop/powertop-9999.ebuild | 6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/sys-power/powertop/powertop-2.8.ebuild 
b/sys-power/powertop/powertop-2.8.ebuild
index 78d95298754..d206d473bc1 100644
--- a/sys-power/powertop/powertop-2.8.ebuild
+++ b/sys-power/powertop/powertop-2.8.ebuild
@@ -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"

diff --git a/sys-power/powertop/powertop-9999.ebuild 
b/sys-power/powertop/powertop-9999.ebuild
index 5535e7a1d2e..69c60eb066c 100644
--- a/sys-power/powertop/powertop-9999.ebuild
+++ b/sys-power/powertop/powertop-9999.ebuild
@@ -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"

Reply via email to