diff options
Diffstat (limited to 'drivers/acpi/tables/tbxface.c')
-rw-r--r-- | drivers/acpi/tables/tbxface.c | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/drivers/acpi/tables/tbxface.c b/drivers/acpi/tables/tbxface.c index 3f96a4909aad..9fe53c9d5b9a 100644 --- a/drivers/acpi/tables/tbxface.c +++ b/drivers/acpi/tables/tbxface.c | |||
@@ -6,7 +6,7 @@ | |||
6 | *****************************************************************************/ | 6 | *****************************************************************************/ |
7 | 7 | ||
8 | /* | 8 | /* |
9 | * Copyright (C) 2000 - 2005, R. Byron Moore | 9 | * Copyright (C) 2000 - 2006, R. Byron Moore |
10 | * All rights reserved. | 10 | * All rights reserved. |
11 | * | 11 | * |
12 | * Redistribution and use in source and binary forms, with or without | 12 | * Redistribution and use in source and binary forms, with or without |
@@ -75,8 +75,7 @@ acpi_status acpi_load_tables(void) | |||
75 | status = acpi_os_get_root_pointer(ACPI_LOGICAL_ADDRESSING, | 75 | status = acpi_os_get_root_pointer(ACPI_LOGICAL_ADDRESSING, |
76 | &rsdp_address); | 76 | &rsdp_address); |
77 | if (ACPI_FAILURE(status)) { | 77 | if (ACPI_FAILURE(status)) { |
78 | ACPI_REPORT_ERROR(("acpi_load_tables: Could not get RSDP, %s\n", | 78 | ACPI_EXCEPTION((AE_INFO, status, "Could not get the RSDP")); |
79 | acpi_format_exception(status))); | ||
80 | goto error_exit; | 79 | goto error_exit; |
81 | } | 80 | } |
82 | 81 | ||
@@ -86,7 +85,7 @@ acpi_status acpi_load_tables(void) | |||
86 | 85 | ||
87 | status = acpi_tb_verify_rsdp(&rsdp_address); | 86 | status = acpi_tb_verify_rsdp(&rsdp_address); |
88 | if (ACPI_FAILURE(status)) { | 87 | if (ACPI_FAILURE(status)) { |
89 | ACPI_REPORT_ERROR(("acpi_load_tables: RSDP Failed validation: %s\n", acpi_format_exception(status))); | 88 | ACPI_EXCEPTION((AE_INFO, status, "During RSDP validation")); |
90 | goto error_exit; | 89 | goto error_exit; |
91 | } | 90 | } |
92 | 91 | ||
@@ -94,7 +93,7 @@ acpi_status acpi_load_tables(void) | |||
94 | 93 | ||
95 | status = acpi_tb_get_table_rsdt(); | 94 | status = acpi_tb_get_table_rsdt(); |
96 | if (ACPI_FAILURE(status)) { | 95 | if (ACPI_FAILURE(status)) { |
97 | ACPI_REPORT_ERROR(("acpi_load_tables: Could not load RSDT: %s\n", acpi_format_exception(status))); | 96 | ACPI_EXCEPTION((AE_INFO, status, "Could not load RSDT")); |
98 | goto error_exit; | 97 | goto error_exit; |
99 | } | 98 | } |
100 | 99 | ||
@@ -102,7 +101,8 @@ acpi_status acpi_load_tables(void) | |||
102 | 101 | ||
103 | status = acpi_tb_get_required_tables(); | 102 | status = acpi_tb_get_required_tables(); |
104 | if (ACPI_FAILURE(status)) { | 103 | if (ACPI_FAILURE(status)) { |
105 | ACPI_REPORT_ERROR(("acpi_load_tables: Error getting required tables (DSDT/FADT/FACS): %s\n", acpi_format_exception(status))); | 104 | ACPI_EXCEPTION((AE_INFO, status, |
105 | "Could not get all required tables (DSDT/FADT/FACS)")); | ||
106 | goto error_exit; | 106 | goto error_exit; |
107 | } | 107 | } |
108 | 108 | ||
@@ -112,16 +112,14 @@ acpi_status acpi_load_tables(void) | |||
112 | 112 | ||
113 | status = acpi_ns_load_namespace(); | 113 | status = acpi_ns_load_namespace(); |
114 | if (ACPI_FAILURE(status)) { | 114 | if (ACPI_FAILURE(status)) { |
115 | ACPI_REPORT_ERROR(("acpi_load_tables: Could not load namespace: %s\n", acpi_format_exception(status))); | 115 | ACPI_EXCEPTION((AE_INFO, status, "Could not load namespace")); |
116 | goto error_exit; | 116 | goto error_exit; |
117 | } | 117 | } |
118 | 118 | ||
119 | return_ACPI_STATUS(AE_OK); | 119 | return_ACPI_STATUS(AE_OK); |
120 | 120 | ||
121 | error_exit: | 121 | error_exit: |
122 | ACPI_REPORT_ERROR(("acpi_load_tables: Could not load tables: %s\n", | 122 | ACPI_EXCEPTION((AE_INFO, status, "Could not load tables")); |
123 | acpi_format_exception(status))); | ||
124 | |||
125 | return_ACPI_STATUS(status); | 123 | return_ACPI_STATUS(status); |
126 | } | 124 | } |
127 | 125 | ||