From aaff1d4cfa72d64a9dbbcd65e3a6d260280ae397 Mon Sep 17 00:00:00 2001 From: Nate Lawson Date: Wed, 18 Aug 2004 05:41:21 +0000 Subject: [PATCH] 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 --- sys/contrib/dev/acpica/aclocal.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/contrib/dev/acpica/aclocal.h b/sys/contrib/dev/acpica/aclocal.h index 09aee94cfaf..e228ccb0738 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 {