diff options
author | Bob Moore <robert.moore@intel.com> | 2012-07-15 21:10:58 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2012-07-17 00:05:49 -0400 |
commit | bc7db1453902ec53cdbcb6a9807db0c527be990f (patch) | |
tree | 098685fecfadb5636b3485621cbe4e0bc2701d9e /include/acpi | |
parent | 5179f59ecb0db585bd10bdad90594d9db0468015 (diff) |
ACPICA: Split exception code utilities to a new file, utexcep.c
Simplifies sharing of these functions.
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>
Diffstat (limited to 'include/acpi')
-rw-r--r-- | include/acpi/acexcep.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/acpi/acexcep.h b/include/acpi/acexcep.h index 92d6e1d701ff..0b5dcb613d31 100644 --- a/include/acpi/acexcep.h +++ b/include/acpi/acexcep.h | |||
@@ -52,6 +52,7 @@ | |||
52 | #define AE_CODE_ACPI_TABLES 0x2000 | 52 | #define AE_CODE_ACPI_TABLES 0x2000 |
53 | #define AE_CODE_AML 0x3000 | 53 | #define AE_CODE_AML 0x3000 |
54 | #define AE_CODE_CONTROL 0x4000 | 54 | #define AE_CODE_CONTROL 0x4000 |
55 | #define AE_CODE_MAX 0x4000 | ||
55 | #define AE_CODE_MASK 0xF000 | 56 | #define AE_CODE_MASK 0xF000 |
56 | 57 | ||
57 | #define ACPI_SUCCESS(a) (!(a)) | 58 | #define ACPI_SUCCESS(a) (!(a)) |
@@ -181,7 +182,7 @@ | |||
181 | 182 | ||
182 | /* Exception strings for acpi_format_exception */ | 183 | /* Exception strings for acpi_format_exception */ |
183 | 184 | ||
184 | #ifdef DEFINE_ACPI_GLOBALS | 185 | #ifdef ACPI_DEFINE_EXCEPTION_TABLE |
185 | 186 | ||
186 | /* | 187 | /* |
187 | * String versions of the exception codes above | 188 | * String versions of the exception codes above |
@@ -295,6 +296,6 @@ char const *acpi_gbl_exception_names_ctrl[] = { | |||
295 | "AE_CTRL_PARSE_PENDING" | 296 | "AE_CTRL_PARSE_PENDING" |
296 | }; | 297 | }; |
297 | 298 | ||
298 | #endif /* ACPI GLOBALS */ | 299 | #endif /* EXCEPTION_TABLE */ |
299 | 300 | ||
300 | #endif /* __ACEXCEP_H__ */ | 301 | #endif /* __ACEXCEP_H__ */ |