diff options
author | Len Brown <len.brown@intel.com> | 2006-07-10 02:39:41 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2006-07-10 02:39:41 -0400 |
commit | 0f12b15ebcedce115a5d8e5ff741e49a7993f67c (patch) | |
tree | 3bfea88873b2a43c5528b9687fa010b6eff23458 /include/acpi/acinterp.h | |
parent | 20b499aa06edf59fa2d21f29d42d36586c6c058e (diff) | |
parent | f6dd9221dddb3550e60d32aee688588ec208312c (diff) |
Pull acpica-20060707 into test branch
Diffstat (limited to 'include/acpi/acinterp.h')
-rw-r--r-- | include/acpi/acinterp.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/include/acpi/acinterp.h b/include/acpi/acinterp.h index 216339a8f1f6..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 | ||