ACPI: processor: mv processor_pdc.c processor_core.c
authorAlex Chiang <achiang@hp.com>
Mon, 22 Feb 2010 19:11:14 +0000 (12:11 -0700)
committerLen Brown <len.brown@intel.com>
Mon, 15 Mar 2010 01:17:17 +0000 (21:17 -0400)
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>
drivers/acpi/Makefile
drivers/acpi/processor_core.c [moved from drivers/acpi/processor_pdc.c with 99% similarity]
include/acpi/processor.h

index 6b363a5..a8d8998 100644 (file)
@@ -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
similarity index 99%
rename from drivers/acpi/processor_pdc.c
rename to drivers/acpi/processor_core.c
index e306ba9..6f376bf 100644 (file)
@@ -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)
 {
index 1172c27..7bb0b8b 100644 (file)
@@ -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 */