diff options
author | Len Brown <len.brown@intel.com> | 2009-08-02 11:31:32 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2009-08-02 11:31:32 -0400 |
commit | b8a848ed7ffda36ed069f63de085a9411d2aa39f (patch) | |
tree | 42af80200ade14b6a27695d197a234e7e64b94e2 /drivers/acpi/acpica/exfldio.c | |
parent | ed680c4ad478d0fee9740f7d029087f181346564 (diff) | |
parent | 7cb7f45c7feef43c8f71f5cfedfc0b19be2142f7 (diff) |
Merge branch 'bugzilla-13620-revert' into release
Diffstat (limited to 'drivers/acpi/acpica/exfldio.c')
-rw-r--r-- | drivers/acpi/acpica/exfldio.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/acpi/acpica/exfldio.c b/drivers/acpi/acpica/exfldio.c index d4075b82102..6687be167f5 100644 --- a/drivers/acpi/acpica/exfldio.c +++ b/drivers/acpi/acpica/exfldio.c @@ -113,6 +113,12 @@ acpi_ex_setup_region(union acpi_operand_object *obj_desc, } } + /* Exit if Address/Length have been disallowed by the host OS */ + + if (rgn_desc->common.flags & AOPOBJ_INVALID) { + return_ACPI_STATUS(AE_AML_ILLEGAL_ADDRESS); + } + /* * Exit now for SMBus address space, it has a non-linear address space * and the request cannot be directly validated |