kernel_optimize_test/drivers/acpi
Rafael J. Wysocki cccd420859 ACPI / scan: always register memory hotplug scan handler
Prevent platform devices from being created for ACPI memory device
objects if CONFIG_ACPI_HOTPLUG_MEMORY is unset by compiling out the
memory hotplug scan handler's callbacks only in that case and still
compiling its device ID list in and registering the scan handler in
either case.

Also unset the memory hotplug scan handler's .attach() callback
if acpi_no_memhotplug is set, but still register the scan handler to
avoid creating platform devices for ACPI memory devices in that case
too.

This change is based on a prototype from Zhang Rui.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
2014-05-30 16:04:36 +02:00
..
acpica ACPICA: Tables: Restore old behavor to favor 32-bit FADT addresses. 2014-05-13 16:37:39 +02:00
apei
ac.c ACPI: Revert "ACPI / AC: convert ACPI ac driver to platform bus" 2014-05-08 00:37:28 +02:00
acpi_cmos_rtc.c ACPI / PNP: use device ID list for PNPACPI device enumeration 2014-05-30 16:04:35 +02:00
acpi_extlog.c
acpi_ipmi.c
acpi_lpss.c Merge branch 'acpi-platform' into acpi-lpss 2014-05-25 14:41:02 +02:00
acpi_memhotplug.c ACPI / scan: always register memory hotplug scan handler 2014-05-30 16:04:36 +02:00
acpi_pad.c
acpi_platform.c Merge branch 'acpi-lpss' into acpi-enumeration 2014-05-30 15:55:19 +02:00
acpi_pnp.c ACPI / scan: drop unsupported serial IDs from PNP ACPI scan handler ID list 2014-05-30 16:04:36 +02:00
acpi_processor.c ACPI / processor: do not mark present at boot but not onlined CPU as onlined 2014-05-08 12:59:36 +02:00
battery.c ACPI: Revert "ACPI / Battery: Remove battery's proc directory" 2014-05-06 01:54:39 +02:00
battery.h
bgrt.c
blacklist.c ACPI / blacklist: Add dmi_enable_osi_linux quirk for Asus EEE PC 1015PX 2014-05-08 00:35:50 +02:00
bus.c ACPI / notify: Do not block unknown type notifications in root handler 2014-04-24 19:27:49 +02:00
button.c
cm_sbs.c ACPI: Revert "ACPI: Remove CONFIG_ACPI_PROCFS_POWER and cm_sbsc.c" 2014-05-06 01:52:09 +02:00
container.c ACPI / scan: always register container scan handler 2014-05-30 16:04:36 +02:00
custom_method.c
debugfs.c
device_pm.c ACPI / PM: Export rest of the subsys PM callbacks 2014-05-20 13:23:07 +02:00
dock.c ACPI / dock: Drop dock_device_ids[] table 2014-04-07 14:11:35 +02:00
ec_sys.c
ec.c ACPI / EC: Process rather than discard events in acpi_ec_clear 2014-04-29 23:07:38 +02:00
event.c
fan.c
glue.c
hed.c
internal.h ACPI / scan: always register memory hotplug scan handler 2014-05-30 16:04:36 +02:00
Kconfig ACPI / proc: Do not say when /proc interfaces will be deleted in Kconfig 2014-05-10 13:51:36 +02:00
Makefile ACPI / scan: always register memory hotplug scan handler 2014-05-30 16:04:36 +02:00
numa.c
nvs.c
osl.c ACPI: Clean up memory allocations 2014-04-04 16:23:33 +02:00
pci_irq.c
pci_link.c
pci_root.c
pci_slot.c
power.c
proc.c
processor_core.c Merge branches 'acpi-processor' and 'pnp' 2014-04-01 22:09:50 +02:00
processor_driver.c
processor_idle.c
processor_perflib.c
processor_thermal.c
processor_throttling.c
reboot.c
resource.c
sbs.c
sbshc.c
sbshc.h
scan.c ACPI / scan: Change the meaning of missing .attach() in scan handlers 2014-05-30 16:04:36 +02:00
sleep.c ACPI / PM: Hold ACPI scan lock over the "freeze" sleep state 2014-05-16 12:18:27 +02:00
sleep.h
sysfs.c
tables.c
thermal.c ACPI / thermal: Fix wrong variable usage in debug statement 2014-04-07 14:00:49 +02:00
utils.c ACPI: Clean up memory allocations 2014-04-04 16:23:33 +02:00
video_detect.c
video.c ACPI / video: Revert native brightness quirk for ThinkPad T530 2014-05-16 22:21:49 +02:00
wakeup.c