~ubuntu-branches/ubuntu/precise/linux-ti-omap4/precise

« back to all changes in this revision

Viewing changes to drivers/acpi/acpica/tbfadt.c

  • Committer: Bazaar Package Importer
  • Author(s): Paolo Pisati
  • Date: 2011-06-29 15:23:51 UTC
  • mfrom: (26.1.1 natty-proposed)
  • Revision ID: james.westby@ubuntu.com-20110629152351-xs96tm303d95rpbk
Tags: 3.0.0-1200.2
* Rebased against 3.0.0-6.7
* BSP from TI based on 3.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
384
384
         *
385
385
         * The ACPI 1.0 reserved fields that will be zeroed are the bytes located at
386
386
         * offset 45, 55, 95, and the word located at offset 109, 110.
 
387
         *
 
388
         * Note: The FADT revision value is unreliable. Only the length can be
 
389
         * trusted.
387
390
         */
388
 
        if (acpi_gbl_FADT.header.revision < FADT2_REVISION_ID) {
 
391
        if (acpi_gbl_FADT.header.length <= ACPI_FADT_V2_SIZE) {
389
392
                acpi_gbl_FADT.preferred_profile = 0;
390
393
                acpi_gbl_FADT.pstate_control = 0;
391
394
                acpi_gbl_FADT.cst_control = 0;