diff options
Diffstat (limited to 'include/acpi/acinterp.h')
| -rw-r--r-- | include/acpi/acinterp.h | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/include/acpi/acinterp.h b/include/acpi/acinterp.h index 9f22cfcb624b..91586d0d5bb5 100644 --- a/include/acpi/acinterp.h +++ b/include/acpi/acinterp.h | |||
| @@ -53,10 +53,14 @@ | |||
| 53 | #define ACPI_EXD_TABLE_SIZE(name) (sizeof(name) / sizeof (struct acpi_exdump_info)) | 53 | #define ACPI_EXD_TABLE_SIZE(name) (sizeof(name) / sizeof (struct acpi_exdump_info)) |
| 54 | 54 | ||
| 55 | /* | 55 | /* |
| 56 | * If possible, pack the following structure to byte alignment, since we | 56 | * If possible, pack the following structures to byte alignment, since we |
| 57 | * don't care about performance for debug output | 57 | * don't care about performance for debug output. Two cases where we cannot |
| 58 | * pack the structures: | ||
| 59 | * | ||
| 60 | * 1) Hardware does not support misaligned memory transfers | ||
| 61 | * 2) Compiler does not support pointers within packed structures | ||
| 58 | */ | 62 | */ |
| 59 | #ifndef ACPI_MISALIGNMENT_NOT_SUPPORTED | 63 | #if (!defined(ACPI_MISALIGNMENT_NOT_SUPPORTED) && !defined(ACPI_PACKED_POINTERS_NOT_SUPPORTED)) |
| 60 | #pragma pack(1) | 64 | #pragma pack(1) |
| 61 | #endif | 65 | #endif |
| 62 | 66 | ||
| @@ -287,7 +291,10 @@ acpi_ex_system_wait_event(union acpi_operand_object *time, | |||
| 287 | 291 | ||
| 288 | acpi_status acpi_ex_system_reset_event(union acpi_operand_object *obj_desc); | 292 | acpi_status acpi_ex_system_reset_event(union acpi_operand_object *obj_desc); |
| 289 | 293 | ||
| 290 | acpi_status acpi_ex_system_wait_semaphore(acpi_handle semaphore, u16 timeout); | 294 | acpi_status |
| 295 | acpi_ex_system_wait_semaphore(acpi_semaphore semaphore, u16 timeout); | ||
| 296 | |||
| 297 | acpi_status acpi_ex_system_wait_mutex(acpi_mutex mutex, u16 timeout); | ||
| 291 | 298 | ||
| 292 | /* | 299 | /* |
| 293 | * exoparg1 - ACPI AML execution, 1 operand | 300 | * exoparg1 - ACPI AML execution, 1 operand |
