summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Chiang <achiang@hp.com>2010-02-22 20:11:14 +0100
committerLen Brown <len.brown@intel.com>2010-03-15 02:17:17 +0100
commit4d5d4cd88c542ff56cf7feacd29cc907f2abbfbb (patch)
treef1a003048703173276e165be8239778d892a5214
parentACPI: processor: mv processor_core.c processor_driver.c (diff)
downloadlinux-4d5d4cd88c542ff56cf7feacd29cc907f2abbfbb.tar.xz
linux-4d5d4cd88c542ff56cf7feacd29cc907f2abbfbb.zip
ACPI: processor: mv processor_pdc.c processor_core.c
We've renamed the old processor_core.c to processor_driver.c, to convey the idea that it can be built modular and has driver-like bits. Now let's re-create a processor_core.c for the bits needed statically by the rest of the kernel. The contents of processor_pdc.c are a good starting spot, so let's just rename that file and complete our three card monte. Acked-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com> Signed-off-by: Alex Chiang <achiang@hp.com> Signed-off-by: Len Brown <len.brown@intel.com>
-rw-r--r--drivers/acpi/Makefile2
-rw-r--r--drivers/acpi/processor_core.c (renamed from drivers/acpi/processor_pdc.c)2
-rw-r--r--include/acpi/processor.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/drivers/acpi/Makefile b/drivers/acpi/Makefile
index 6b363a50d18b..a8d8998dd5c5 100644
--- a/drivers/acpi/Makefile
+++ b/drivers/acpi/Makefile
@@ -32,7 +32,7 @@ acpi-$(CONFIG_ACPI_SLEEP) += proc.o
#
acpi-y += bus.o glue.o
acpi-y += scan.o
-acpi-y += processor_pdc.o
+acpi-y += processor_core.o
acpi-y += ec.o
acpi-$(CONFIG_ACPI_DOCK) += dock.o
acpi-y += pci_root.o pci_link.o pci_irq.o pci_bind.o
diff --git a/drivers/acpi/processor_pdc.c b/drivers/acpi/processor_core.c
index e306ba9aa34e..6f376bf42904 100644
--- a/drivers/acpi/processor_pdc.c
+++ b/drivers/acpi/processor_core.c
@@ -16,7 +16,7 @@
#define PREFIX "ACPI: "
#define _COMPONENT ACPI_PROCESSOR_COMPONENT
-ACPI_MODULE_NAME("processor_pdc");
+ACPI_MODULE_NAME("processor_core");
static int set_no_mwait(const struct dmi_system_id *id)
{
diff --git a/include/acpi/processor.h b/include/acpi/processor.h
index 1172c27adadf..7bb0b8b9332e 100644
--- a/include/acpi/processor.h
+++ b/include/acpi/processor.h
@@ -320,7 +320,7 @@ static inline int acpi_processor_get_bios_limit(int cpu, unsigned int *limit)
#endif /* CONFIG_CPU_FREQ */
-/* in processor_pdc.c */
+/* in processor_core.c */
void acpi_processor_set_pdc(acpi_handle handle);
/* in processor_throttling.c */