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.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/acpi/acpica/acstruct.h b/drivers/acpi/acpica/acstruct.h
index fc83c0a..5a3fa0d 100644
--- a/drivers/acpi/acpica/acstruct.h
+++ b/drivers/acpi/acpica/acstruct.h
@@ -5,7 +5,7 @@
*****************************************************************************/
/*
- * Copyright (C) 2000 - 2013, Intel Corp.
+ * Copyright (C) 2000 - 2014, Intel Corp.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -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
OpenPOWER on IntegriCloud