ACPI: Ingore the memory block with zero block size in course of memory hotplug
authorZhao Yakui <yakui.zhao@intel.com>
Tue, 7 Jul 2009 02:56:11 +0000 (10:56 +0800)
committerLen Brown <len.brown@intel.com>
Sun, 2 Aug 2009 16:25:12 +0000 (12:25 -0400)
commit5d2619fca753d270e63e76c9e18437b0d9bc8d75
tree61ba09656dd63c66659c8994f19767e262afb93f
parentaa7b2b2e973874df99a45b31adbed5978b46be1f
ACPI: Ingore the memory block with zero block size in course of memory hotplug

If the memory block size is zero, ignore it and don't do the memory hotplug
flowchart. Otherwise it will complain the following warning message:
  >System RAM resource 0 - ffffffffffffffff cannot be added

Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/acpi_memhotplug.c