|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [linux-2.6.18-xen] linux/acpi: more extcntl code adjustm
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1218201634 -3600
# Node ID 59912a8aee5348d0c8064ace1f0379adc9d6d0f1
# Parent 2807d531d025ae0c57d73e2ed60c13cd4bb4e21b
linux/acpi: more extcntl code adjustments
Restore a preprocessor conditional for native to remain unaltered.
Add necessary definitions for being able to build with
CONFIG_ACPI_DEBUG.
Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>
---
drivers/acpi/processor_core.c | 2 ++
drivers/acpi/processor_extcntl.c | 6 ++++++
2 files changed, 8 insertions(+)
diff -r 2807d531d025 -r 59912a8aee53 drivers/acpi/processor_core.c
--- a/drivers/acpi/processor_core.c Fri Aug 08 12:43:57 2008 +0100
+++ b/drivers/acpi/processor_core.c Fri Aug 08 14:20:34 2008 +0100
@@ -509,7 +509,9 @@ static int acpi_processor_get_info(struc
request_region(pr->throttling.address, 6, "ACPI CPU throttle");
}
+#if defined(CONFIG_CPU_FREQ) || defined(CONFIG_PROCESSOR_EXTERNAL_CONTROL)
acpi_processor_ppc_has_changed(pr);
+#endif
acpi_processor_get_throttling_info(pr);
acpi_processor_get_limit_info(pr);
diff -r 2807d531d025 -r 59912a8aee53 drivers/acpi/processor_extcntl.c
--- a/drivers/acpi/processor_extcntl.c Fri Aug 08 12:43:57 2008 +0100
+++ b/drivers/acpi/processor_extcntl.c Fri Aug 08 14:20:34 2008 +0100
@@ -29,6 +29,12 @@
#include <linux/cpu.h>
#include <acpi/processor.h>
+
+#define ACPI_PROCESSOR_COMPONENT 0x01000000
+#define ACPI_PROCESSOR_CLASS "processor"
+#define ACPI_PROCESSOR_DRIVER_NAME "ACPI Processor Driver"
+#define _COMPONENT ACPI_PROCESSOR_COMPONENT
+ACPI_MODULE_NAME("acpi_processor")
static int processor_extcntl_parse_csd(struct acpi_processor *pr);
static int processor_extcntl_get_performance(struct acpi_processor *pr);
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [linux-2.6.18-xen] linux/acpi: more extcntl code adjustments,
Xen patchbot-linux-2.6.18-xen <=
|
|
|
|
|