From 494796bf66064d463792258eb990ff4f0b89a8f8 Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Sun, 25 Mar 2007 14:08:56 +0200 Subject: [PATCH] config_cpu(): support x86 in cpufreq detection --- autoconfig.functions | 3 ++- debian/changelog | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/autoconfig.functions b/autoconfig.functions index d8499ae..ea906fb 100755 --- a/autoconfig.functions +++ b/autoconfig.functions @@ -1213,7 +1213,8 @@ if checkbootparam "nocpu"; then else if ! [ -x /etc/init.d/powernowd ] ; then ewarn "Skipping CPU detection as powernowd dependencies are not fulfilled." ; eend 1 - elif [ ! -e /lib/modules/${KERNEL}/kernel/arch/i386/kernel/cpu/cpufreq -o ! -e /lib/modules/${KERNEL}/kernel/drivers/cpufreq ] ; then + elif [ ! -e /lib/modules/${KERNEL}/kernel/arch/i386/kernel/cpu/cpufreq -o ! -e /lib/modules/${KERNEL}/kernel/drivers/cpufreq -o ! -e \ + /lib/modules/${KERNEL}/kernel/arch/x86_64/kernel/cpufreq ] ; then ewarn "Skipping CPU detection as module dependencies are not fulfilled." ; eend 1 else if [[ `grep -c processor /proc/cpuinfo` -gt 1 ]] ; then diff --git a/debian/changelog b/debian/changelog index abca98c..2ef2492 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,6 +1,7 @@ grml-autoconfig (0.6.24) unstable; urgency=low * config_vmware(): fix small syntax error. + * config_cpu(): support x86 in cpufreq detection -- Michael Prokop Sun, 25 Mar 2007 13:25:15 +0200 -- 2.1.4