ACPI: Fix a bug in parsing ACPI Memory24 resource
authorJiang Liu <jiang.liu@linux.intel.com>
Mon, 2 Feb 2015 02:42:54 +0000 (10:42 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 3 Feb 2015 21:27:19 +0000 (22:27 +0100)
commit8515f9368161730655b64ddaf8b11a3d20049610
treeee4ffd035dfd860964c4adbaaa05d432478b8e4d
parentfcb29bbcd5404494eb46ad24908a4843b5a32060
ACPI: Fix a bug in parsing ACPI Memory24 resource

According to ACPI spec 5, section 6.4.3.1 "24-Bit Memory Range Descriptor",
minimum, maximum and address_length field in struct acpi_resource_memory24
is in granularity of 256-bytes. So shift 8-bit left to get correct address.

Signed-off-by: Jiang Liu <jiang.liu@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/resource.c