X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Facpi%2Facinterp.h;fp=include%2Facpi%2Facinterp.h;h=9f22cfcb624b97ff5bbe168770d53de74d3d1fd7;hb=64ba3f394c830ec48a1c31b53dcae312c56f1604;hp=91586d0d5bb57f8d4ea26602bcd31aafbce391e3;hpb=be1e6109ac94a859551f8e1774eb9a8469fe055c;p=linux-2.6.git diff --git a/include/acpi/acinterp.h b/include/acpi/acinterp.h index 91586d0d5..9f22cfcb6 100644 --- a/include/acpi/acinterp.h +++ b/include/acpi/acinterp.h @@ -53,14 +53,10 @@ #define ACPI_EXD_TABLE_SIZE(name) (sizeof(name) / sizeof (struct acpi_exdump_info)) /* - * If possible, pack the following structures to byte alignment, since we - * don't care about performance for debug output. Two cases where we cannot - * pack the structures: - * - * 1) Hardware does not support misaligned memory transfers - * 2) Compiler does not support pointers within packed structures + * If possible, pack the following structure to byte alignment, since we + * don't care about performance for debug output */ -#if (!defined(ACPI_MISALIGNMENT_NOT_SUPPORTED) && !defined(ACPI_PACKED_POINTERS_NOT_SUPPORTED)) +#ifndef ACPI_MISALIGNMENT_NOT_SUPPORTED #pragma pack(1) #endif @@ -291,10 +287,7 @@ acpi_ex_system_wait_event(union acpi_operand_object *time, acpi_status acpi_ex_system_reset_event(union acpi_operand_object *obj_desc); -acpi_status -acpi_ex_system_wait_semaphore(acpi_semaphore semaphore, u16 timeout); - -acpi_status acpi_ex_system_wait_mutex(acpi_mutex mutex, u16 timeout); +acpi_status acpi_ex_system_wait_semaphore(acpi_handle semaphore, u16 timeout); /* * exoparg1 - ACPI AML execution, 1 operand