summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/acpica/acstruct.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/acpi/acpica/acstruct.h')
-rw-r--r--drivers/acpi/acpica/acstruct.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/acpi/acpica/acstruct.h b/drivers/acpi/acpica/acstruct.h
index 5d2989a1b68c..5a3fa0ddc1bc 100644
--- a/drivers/acpi/acpica/acstruct.h
+++ b/drivers/acpi/acpica/acstruct.h
@@ -44,6 +44,8 @@
#ifndef __ACSTRUCT_H__
#define __ACSTRUCT_H__
+#pragma pack(push) /* Set default struct packing */
+
/* acpisrc:struct_defs -- for acpisrc conversion */
/*****************************************************************************
@@ -241,4 +243,6 @@ struct acpi_walk_info {
#define ACPI_DISPLAY_SHORT (u8) 2
+#pragma pack(pop) /* Restore original struct packing */
+
#endif