diff options
author | njl <njl@FreeBSD.org> | 2004-08-18 05:41:21 +0000 |
---|---|---|
committer | njl <njl@FreeBSD.org> | 2004-08-18 05:41:21 +0000 |
commit | f84f460530aa9bde251160a8ebad4c1048e94251 (patch) | |
tree | c22b0d103b98755d90d3f8423325e8121ee8b829 /sys/contrib/dev | |
parent | 4a971257d3dcd405c227bcc6e540511cbd19fd03 (diff) | |
download | FreeBSD-src-f84f460530aa9bde251160a8ebad4c1048e94251.zip FreeBSD-src-f84f460530aa9bde251160a8ebad4c1048e94251.tar.gz |
Add a padding member to the header overlaid on data allocated in the
ACPI_DEBUG case. Without this, use of allocated memory is unaligned and
causes a trap on ia64. Intel may fix this differently in a subsequent
release but this is adequate for now.
Submitted by: marcel
MFC after: 2 days
Diffstat (limited to 'sys/contrib/dev')
-rw-r--r-- | sys/contrib/dev/acpica/aclocal.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/contrib/dev/acpica/aclocal.h b/sys/contrib/dev/acpica/aclocal.h index 09aee94..e228ccb 100644 --- a/sys/contrib/dev/acpica/aclocal.h +++ b/sys/contrib/dev/acpica/aclocal.h @@ -1050,7 +1050,8 @@ typedef struct acpi_debug_print_info UINT32 Component; \ UINT32 Line; \ char Module[ACPI_MAX_MODULE_NAME]; \ - UINT8 AllocType; + UINT8 AllocType; \ + UINT8 Padding[3]; typedef struct acpi_debug_mem_header { |