Skip to content

Commit

Permalink
ACPICA: Move ACPI_NUM_PREDEFINED_REGIONS to a more appropriate place
Browse files Browse the repository at this point in the history
Moved to where the predefined regions are actually defined.

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>
  • Loading branch information
Bob Moore authored and Len Brown committed May 10, 2011
1 parent 82a1b7c commit 07aa99e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 0 additions & 1 deletion drivers/acpi/acpica/acconfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,6 @@

/* Operation regions */

#define ACPI_NUM_PREDEFINED_REGIONS 8
#define ACPI_USER_REGION_BEGIN 0x80

/* Maximum space_ids for Operation Regions */
Expand Down
4 changes: 3 additions & 1 deletion include/acpi/actypes.h
Original file line number Diff line number Diff line change
Expand Up @@ -713,8 +713,10 @@ typedef u8 acpi_adr_space_type;
#define ACPI_ADR_SPACE_PCI_BAR_TARGET (acpi_adr_space_type) 6
#define ACPI_ADR_SPACE_IPMI (acpi_adr_space_type) 7

#define ACPI_NUM_PREDEFINED_REGIONS 8

/*
* Special region types
* Special Address Spaces
*
* Note: A Data Table region is a special type of operation region
* that has its own AML opcode. However, internally, the AML
Expand Down

0 comments on commit 07aa99e

Please sign in to comment.