summaryrefslogtreecommitdiff
path: root/drivers/acpi/acpica/excreate.c
diff options
context:
space:
mode:
authorBob Moore <robert.moore@intel.com>2011-04-13 13:19:35 +0800
committerLen Brown <len.brown@intel.com>2011-05-09 22:16:11 -0400
commit82a1b7cb83b6bd7d2fe3972e847c8ccbff55cb9c (patch)
treef257364bddd964e53746c5a93bcdb96719b23f81 /drivers/acpi/acpica/excreate.c
parent945488b9c5fc3f85e3f6a3580235b5c73febc8a6 (diff)
ACPICA: Update internal address SpaceID for DataTable regions
Moved this internal space id in preparation for ACPI 5.0 changes that will include some new space IDs. Signed-off-by: Bob Moore <robert.moore@intel.com> Signed-off-by: Lin Ming <ming.m.lin@intel.com> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/acpica/excreate.c')
-rw-r--r--drivers/acpi/acpica/excreate.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/acpi/acpica/excreate.c b/drivers/acpi/acpica/excreate.c
index e7b372d17667..110711afada8 100644
--- a/drivers/acpi/acpica/excreate.c
+++ b/drivers/acpi/acpica/excreate.c
@@ -305,7 +305,8 @@ acpi_ex_create_region(u8 * aml_start,
* range
*/
if ((region_space >= ACPI_NUM_PREDEFINED_REGIONS) &&
- (region_space < ACPI_USER_REGION_BEGIN)) {
+ (region_space < ACPI_USER_REGION_BEGIN) &&
+ (region_space != ACPI_ADR_SPACE_DATA_TABLE)) {
ACPI_ERROR((AE_INFO, "Invalid AddressSpace type 0x%X",
region_space));
return_ACPI_STATUS(AE_AML_INVALID_SPACE_ID);