aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Chiang <achiang@hp.com>2010-02-22 14:11:14 -0500
committerLen Brown <len.brown@intel.com>2010-03-14 21:17:17 -0400
commit4d5d4cd88c542ff56cf7feacd29cc907f2abbfbb (patch)
treef1a003048703173276e165be8239778d892a5214
parent0131aa3dd7dcf41c66784b96ff351f63ee3ef348 (diff)
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
32# 32#
33acpi-y += bus.o glue.o 33acpi-y += bus.o glue.o
34acpi-y += scan.o 34acpi-y += scan.o
35acpi-y += processor_pdc.o 35acpi-y += processor_core.o
36acpi-y += ec.o 36acpi-y += ec.o
37acpi-$(CONFIG_ACPI_DOCK) += dock.o 37acpi-$(CONFIG_ACPI_DOCK) += dock.o
38acpi-y += pci_root.o pci_link.o pci_irq.o pci_bind.o 38acpi-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 @@
16 16
17#define PREFIX "ACPI: " 17#define PREFIX "ACPI: "
18#define _COMPONENT ACPI_PROCESSOR_COMPONENT 18#define _COMPONENT ACPI_PROCESSOR_COMPONENT
19ACPI_MODULE_NAME("processor_pdc"); 19ACPI_MODULE_NAME("processor_core");
20 20
21static int set_no_mwait(const struct dmi_system_id *id) 21static int set_no_mwait(const struct dmi_system_id *id)
22{ 22{
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)
320 320
321#endif /* CONFIG_CPU_FREQ */ 321#endif /* CONFIG_CPU_FREQ */
322 322
323/* in processor_pdc.c */ 323/* in processor_core.c */
324void acpi_processor_set_pdc(acpi_handle handle); 324void acpi_processor_set_pdc(acpi_handle handle);
325 325
326/* in processor_throttling.c */ 326/* in processor_throttling.c */