]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ACPI: fix memory hotplug range length handling
authorBjorn Helgaas <bjorn.helgaas@hp.com>
Tue, 28 Mar 2006 22:04:00 +0000 (17:04 -0500)
committerLen Brown <len.brown@intel.com>
Sun, 2 Apr 2006 03:05:18 +0000 (22:05 -0500)
commit459c7266d7a5c1730169258217e25fdd1b7ca854
tree79b50e2c6d530539bfe4a468ab290069ddf8ac32
parent683aa4012f53b2ada0f430487e05d37b0d94e90a
ACPI: fix memory hotplug range length handling

Address space descriptors contain _MIN, _MAX, and _LEN.  _MIN and _MAX are
the bounds within which the region can be moved (this is clarified in Table
6-38 of the ACPI 3.0 spec).  We should use _LEN to determine the size of
the region, not _MAX - _MIN + 1.

Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/acpi_memhotplug.c