summaryrefslogtreecommitdiffstats
path: root/include/acpi/hed.h
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-08-06 14:32:54 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-08-06 14:32:54 +0200
commit007ccfcf89401e764c33965b739310d86a94626d (patch)
tree4d7270405a42bee29537f51e29f1c07b613f9269 /include/acpi/hed.h
parent623cf33cb055b1e81fa47e4fc16789b2c129e31e (diff)
downloadlinux-stable-007ccfcf89401e764c33965b739310d86a94626d.tar.gz
linux-stable-007ccfcf89401e764c33965b739310d86a94626d.tar.bz2
linux-stable-007ccfcf89401e764c33965b739310d86a94626d.zip
ACPI: Drop physical_node_id_bitmap from struct acpi_device
The physical_node_id_bitmap in struct acpi_device is only used for looking up the first currently unused dependent phyiscal node ID by acpi_bind_one(). It is not really necessary, however, because acpi_bind_one() walks the entire physical_node_list of the given device object for sanity checking anyway and if that list is always sorted by node_id, it is straightforward to find the first gap between the currently used node IDs and use that number as the ID of the new list node. This also removes the artificial limit of the maximum number of dependent physical devices per ACPI device object, which now depends only on the capacity of unsigend int. As a result, it fixes a regression introduced by commit e2ff394 (ACPI / memhotplug: Bind removable memory blocks to ACPI device nodes) that caused acpi_memory_enable_device() to fail when the number of 128 MB blocks within one removable memory module was greater than 32. Reported-and-tested-by: Yasuaki Ishimatsu <isimatu.yasuaki@jp.fujitsu.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Acked-by: Toshi Kani <toshi.kani@hp.com> Reviewed-by: Yasuaki Ishimatsu <isimatu.yasuaki@jp.fujitsu.com>
Diffstat (limited to 'include/acpi/hed.h')
0 files changed, 0 insertions, 0 deletions