diff options
author | Lv Zheng <lv.zheng@intel.com> | 2013-08-08 03:29:46 -0400 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-08-13 07:13:09 -0400 |
commit | 2641f540800b47a1b9e9d8ce9d682fc15df088e2 (patch) | |
tree | 68033c6e7648ff842f102fd75a01849f4c577f39 /include/acpi | |
parent | bf0dd264b1207b090858e7847919af5f2e367d7c (diff) |
ACPICA: Fix divergences of the commit - ACPICA: Expose OSI version.
The original commit 242b2287cd7f27521c8b54a4101d569e53e7a0ca "ACPICA:
expose OSI version" triggers build errors in ACPICA when it is back
ported. The patch removes the divergences between Linux and upstream
ACPICA resulting from that.
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'include/acpi')
-rw-r--r-- | include/acpi/actypes.h | 28 |
1 files changed, 13 insertions, 15 deletions
diff --git a/include/acpi/actypes.h b/include/acpi/actypes.h index eae55fb74905..b748aefce929 100644 --- a/include/acpi/actypes.h +++ b/include/acpi/actypes.h | |||
@@ -1137,7 +1137,19 @@ struct acpi_memory_list { | |||
1137 | #endif | 1137 | #endif |
1138 | }; | 1138 | }; |
1139 | 1139 | ||
1140 | /* Definitions for _OSI support */ | 1140 | /* Definitions of _OSI support */ |
1141 | |||
1142 | #define ACPI_VENDOR_STRINGS 0x01 | ||
1143 | #define ACPI_FEATURE_STRINGS 0x02 | ||
1144 | #define ACPI_ENABLE_INTERFACES 0x00 | ||
1145 | #define ACPI_DISABLE_INTERFACES 0x04 | ||
1146 | |||
1147 | #define ACPI_DISABLE_ALL_VENDOR_STRINGS (ACPI_DISABLE_INTERFACES | ACPI_VENDOR_STRINGS) | ||
1148 | #define ACPI_DISABLE_ALL_FEATURE_STRINGS (ACPI_DISABLE_INTERFACES | ACPI_FEATURE_STRINGS) | ||
1149 | #define ACPI_DISABLE_ALL_STRINGS (ACPI_DISABLE_INTERFACES | ACPI_VENDOR_STRINGS | ACPI_FEATURE_STRINGS) | ||
1150 | #define ACPI_ENABLE_ALL_VENDOR_STRINGS (ACPI_ENABLE_INTERFACES | ACPI_VENDOR_STRINGS) | ||
1151 | #define ACPI_ENABLE_ALL_FEATURE_STRINGS (ACPI_ENABLE_INTERFACES | ACPI_FEATURE_STRINGS) | ||
1152 | #define ACPI_ENABLE_ALL_STRINGS (ACPI_ENABLE_INTERFACES | ACPI_VENDOR_STRINGS | ACPI_FEATURE_STRINGS) | ||
1141 | 1153 | ||
1142 | #define ACPI_OSI_WIN_2000 0x01 | 1154 | #define ACPI_OSI_WIN_2000 0x01 |
1143 | #define ACPI_OSI_WIN_XP 0x02 | 1155 | #define ACPI_OSI_WIN_XP 0x02 |
@@ -1152,18 +1164,4 @@ struct acpi_memory_list { | |||
1152 | #define ACPI_OSI_WIN_7 0x0B | 1164 | #define ACPI_OSI_WIN_7 0x0B |
1153 | #define ACPI_OSI_WIN_8 0x0C | 1165 | #define ACPI_OSI_WIN_8 0x0C |
1154 | 1166 | ||
1155 | /* _OSI update actions */ | ||
1156 | |||
1157 | #define ACPI_VENDOR_STRINGS 0x01 | ||
1158 | #define ACPI_FEATURE_STRINGS 0x02 | ||
1159 | #define ACPI_ENABLE_INTERFACES 0x00 | ||
1160 | #define ACPI_DISABLE_INTERFACES 0x04 | ||
1161 | |||
1162 | #define ACPI_DISABLE_ALL_VENDOR_STRINGS (ACPI_DISABLE_INTERFACES | ACPI_VENDOR_STRINGS) | ||
1163 | #define ACPI_DISABLE_ALL_FEATURE_STRINGS (ACPI_DISABLE_INTERFACES | ACPI_FEATURE_STRINGS) | ||
1164 | #define ACPI_DISABLE_ALL_STRINGS (ACPI_DISABLE_INTERFACES | ACPI_VENDOR_STRINGS | ACPI_FEATURE_STRINGS) | ||
1165 | #define ACPI_ENABLE_ALL_VENDOR_STRINGS (ACPI_ENABLE_INTERFACES | ACPI_VENDOR_STRINGS) | ||
1166 | #define ACPI_ENABLE_ALL_FEATURE_STRINGS (ACPI_ENABLE_INTERFACES | ACPI_FEATURE_STRINGS) | ||
1167 | #define ACPI_ENABLE_ALL_STRINGS (ACPI_ENABLE_INTERFACES | ACPI_VENDOR_STRINGS | ACPI_FEATURE_STRINGS) | ||
1168 | |||
1169 | #endif /* __ACTYPES_H__ */ | 1167 | #endif /* __ACTYPES_H__ */ |