[Powertop][PATCH] fix cpuidle state name parsing

2012-06-22 Thread Rajagopal Venkat
parse cpuidle C state based on sysfs file entry(stateX) instead of state name/description Signed-off-by: Rajagopal Venkat --- src/cpu/abstract_cpu.cpp |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cpu/abstract_cpu.cpp b/src/cpu/abstract_cpu.cpp index cd4eba0..72969fc

[Powertop][PATCH] conditionally disable pci support on ARM platforms

2012-06-22 Thread Rajagopal Venkat
Signed-off-by: Rajagopal Venkat --- configure.ac | 16 +--- src/lib.cpp | 20 ++-- src/lib.h|4 3 files changed, 35 insertions(+), 5 deletions(-) diff --git a/configure.ac b/configure.ac index 4da4eea..c2ff430 100644 --- a/configure.ac +++ b/configur

Re: [Powertop] [PATCH] conditionally disable pci support on ARM platforms

2012-06-22 Thread Arjan van de Ven
On 6/22/2012 11:42 AM, Rajagopal Venkat wrote: > +case "$host" in > +arm*) > + AC_DEFINE([HAVE_NO_PCI],[1],[Define if host platform is ARM]) > + ;; > +*) > + PKG_CHECK_MODULES([PCIUTILS], [libpci],[],[ > + AC_SEARCH_LIBS([pci_get_dev], [pci], [], AC_MSG_ERROR([libpci > is r