ACPI: Fix possible alignment issues with GAS 'address' references
authorMyron Stowe <mstowe@redhat.com>
Mon, 7 Nov 2011 23:23:27 +0000 (16:23 -0700)
committerLen Brown <len.brown@intel.com>
Tue, 17 Jan 2012 09:33:40 +0000 (04:33 -0500)
commitbc9ffce27962c0c5fdc6adf74790ea0fcbe4a99c
tree4708702e1d6302dd8b4c16df9f44853ed2128ee1
parent4134b8c8811f23aa8a281db50dcee64dda414736
ACPI: Fix possible alignment issues with GAS 'address' references

Generic Address Structures (GAS) may reside within ACPI tables which
are byte aligned.  This patch copies GAS 'address' references to a local
variable, which will be naturally aligned, to be used going forward.

ACPI Generic Address Structure (GAS) reference:
  ACPI Specification, Revision 4.0, Section 5.2.3.1, "Generic Address
  Structure"

Signed-off-by: Myron Stowe <myron.stowe@redhat.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/osl.c