ACPI / processor: Rename acpi_(un)map_lsapic() to acpi_(un)map_cpu()
authorHanjun Guo <hanjun.guo@linaro.com>
Sun, 4 Jan 2015 10:55:03 +0000 (18:55 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 5 Jan 2015 22:34:26 +0000 (23:34 +0100)
commitd02dc27db0dc74683efc4a2b36f55f5594451f38
treecbf8a9b0e16897d157c9fe641da7a00d4f587044
parentaf8f3f514d193eb353f9b6cea503c55d074e6153
ACPI / processor: Rename acpi_(un)map_lsapic() to acpi_(un)map_cpu()

acpi_map_lsapic() will allocate a logical CPU number and map it to
physical CPU id (such as APIC id) for the hot-added CPU, it will also
do some mapping for NUMA node id and etc, acpi_unmap_lsapic() will
do the reverse.

We can see that the name of the function is a little bit confusing and
arch (IA64) dependent so rename them as acpi_(un)map_cpu() to make arch
agnostic and explicit.

Signed-off-by: Hanjun Guo <hanjun.guo@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
arch/ia64/kernel/acpi.c
arch/x86/kernel/acpi/boot.c
drivers/acpi/acpi_processor.c
include/linux/acpi.h