summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/acpica/acinterp.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/acpi/acpica/acinterp.h')
-rw-r--r--drivers/acpi/acpica/acinterp.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/acpi/acpica/acinterp.h b/drivers/acpi/acpica/acinterp.h
index 948a6800ab0..277f4d03c08 100644
--- a/drivers/acpi/acpica/acinterp.h
+++ b/drivers/acpi/acpica/acinterp.h
@@ -44,6 +44,8 @@
#ifndef __ACINTERP_H__
#define __ACINTERP_H__
+#pragma pack(push) /* Set default struct packing */
+
#define ACPI_WALK_OPERANDS (&(walk_state->operands [walk_state->num_operands -1]))
/* Macros for tables used for debug output */
@@ -531,4 +533,6 @@ acpi_ex_data_table_space_handler(u32 function,
u64 *value,
void *handler_context, void *region_context);
+#pragma pack(pop) /* Restore original struct packing */
+
#endif /* __INTERP_H__ */