diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-06-28 06:58:05 -0400 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-06-28 06:58:05 -0400 |
commit | a204dbc61b7f4cb1a7e2cb3ad057b135164782da (patch) | |
tree | f82151c04a30f49c3dee8926d184575ad2e7b1e2 /drivers/acpi/internal.h | |
parent | 45e00374db944b1c12987b501bcaa279b3e36d93 (diff) | |
parent | 08f502c1c343031f0d126bd00e87dede38269d12 (diff) |
Merge branch 'acpi-hotplug'
* acpi-hotplug:
ACPI: Do not use CONFIG_ACPI_HOTPLUG_MEMORY_MODULE
ACPI / cpufreq: Add ACPI processor device IDs to acpi-cpufreq
Memory hotplug: Move alternative function definitions to header
ACPI / processor: Fix potential NULL pointer dereference in acpi_processor_add()
Memory hotplug / ACPI: Simplify memory removal
ACPI / scan: Add second pass of companion offlining to hot-remove code
Driver core / MM: Drop offline_memory_block()
ACPI / processor: Pass processor object handle to acpi_bind_one()
ACPI: Drop removal_type field from struct acpi_device
Driver core / memory: Simplify __memory_block_change_state()
ACPI / processor: Initialize per_cpu(processors, pr->id) properly
CPU: Fix sysfs cpu/online of offlined CPUs
Driver core: Introduce offline/online callbacks for memory blocks
ACPI / memhotplug: Bind removable memory blocks to ACPI device nodes
ACPI / processor: Use common hotplug infrastructure
ACPI / hotplug: Use device offline/online for graceful hot-removal
Driver core: Use generic offline/online for CPU offline/online
Driver core: Add offline/online device operations
Diffstat (limited to 'drivers/acpi/internal.h')
-rw-r--r-- | drivers/acpi/internal.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/acpi/internal.h b/drivers/acpi/internal.h index c610a76d92c4..520073ba36b4 100644 --- a/drivers/acpi/internal.h +++ b/drivers/acpi/internal.h | |||
@@ -33,6 +33,7 @@ static inline void acpi_pci_slot_init(void) { } | |||
33 | void acpi_pci_root_init(void); | 33 | void acpi_pci_root_init(void); |
34 | void acpi_pci_link_init(void); | 34 | void acpi_pci_link_init(void); |
35 | void acpi_pci_root_hp_init(void); | 35 | void acpi_pci_root_hp_init(void); |
36 | void acpi_processor_init(void); | ||
36 | void acpi_platform_init(void); | 37 | void acpi_platform_init(void); |
37 | int acpi_sysfs_init(void); | 38 | int acpi_sysfs_init(void); |
38 | #ifdef CONFIG_ACPI_CONTAINER | 39 | #ifdef CONFIG_ACPI_CONTAINER |
@@ -51,6 +52,8 @@ void acpi_memory_hotplug_init(void); | |||
51 | static inline void acpi_memory_hotplug_init(void) {} | 52 | static inline void acpi_memory_hotplug_init(void) {} |
52 | #endif | 53 | #endif |
53 | 54 | ||
55 | extern bool acpi_force_hot_remove; | ||
56 | |||
54 | void acpi_sysfs_add_hotplug_profile(struct acpi_hotplug_profile *hotplug, | 57 | void acpi_sysfs_add_hotplug_profile(struct acpi_hotplug_profile *hotplug, |
55 | const char *name); | 58 | const char *name); |
56 | int acpi_scan_add_handler_with_hotplug(struct acpi_scan_handler *handler, | 59 | int acpi_scan_add_handler_with_hotplug(struct acpi_scan_handler *handler, |
@@ -81,6 +84,8 @@ void acpi_init_device_object(struct acpi_device *device, acpi_handle handle, | |||
81 | int type, unsigned long long sta); | 84 | int type, unsigned long long sta); |
82 | void acpi_device_add_finalize(struct acpi_device *device); | 85 | void acpi_device_add_finalize(struct acpi_device *device); |
83 | void acpi_free_pnp_ids(struct acpi_device_pnp *pnp); | 86 | void acpi_free_pnp_ids(struct acpi_device_pnp *pnp); |
87 | int acpi_bind_one(struct device *dev, acpi_handle handle); | ||
88 | int acpi_unbind_one(struct device *dev); | ||
84 | 89 | ||
85 | /* -------------------------------------------------------------------------- | 90 | /* -------------------------------------------------------------------------- |
86 | Power Resource | 91 | Power Resource |