ACPI: cpufreq, processor: fix compile error in drivers/acpi/processor_perflib.c
authorMiao Xie <miaox@cn.fujitsu.com>
Fri, 24 Oct 2008 09:22:04 +0000 (17:22 +0800)
committerLen Brown <len.brown@intel.com>
Sat, 25 Oct 2008 08:07:12 +0000 (04:07 -0400)
commit16be87ea170ae6cfaa9f47f79d14f7577d8cb420
tree5374ee09fc961a659fa5e7aa9203be424f37acca
parente013e13bf605b9e6b702adffbe2853cfc60e7806
ACPI: cpufreq, processor: fix compile error in drivers/acpi/processor_perflib.c

When trying to build 2.6.28-rc1 on ia64, make aborts with:

  CC      drivers/acpi/processor_perflib.o
  drivers/acpi/processor_perflib.c:41:28: error: asm/cpufeature.h: No such file or directory
  drivers/acpi/processor_perflib.c: In function ‘acpi_processor_get_performance_info’:
  drivers/acpi/processor_perflib.c:364: error: implicit declaration of function ‘boot_cpu_has’
  drivers/acpi/processor_perflib.c:364: error: ‘X86_FEATURE_EST’ undeclared (first use in this function)
  drivers/acpi/processor_perflib.c:364: error: (Each undeclared identifier is reported only once
  drivers/acpi/processor_perflib.c:364: error: for each function it appears in.)
  make[2]: *** [drivers/acpi/processor_perflib.o] Error 1
  make[1]: *** [drivers/acpi] Error 2
  make: *** [drivers] Error 2

this patch fix it.

Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
Acked-by: Thomas Renninger <trenn@suse.de>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/processor_perflib.c