aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/acpica/amlcode.h
diff options
context:
space:
mode:
authorRobert Moore <Robert.Moore@intel.com>2014-03-05 01:12:01 -0500
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2014-03-17 20:53:45 -0400
commit6e596084833b95662dfe90e1f30d83ccbd64575c (patch)
treeca9530e294d057788b551be667f26dbb07b4277e /drivers/acpi/acpica/amlcode.h
parentbcef50814c9de8e0672d3e7f9f1abd85e1b95d13 (diff)
ACPICA: Revert "Headers: Deploy #pragma pack (push) and (pop)."
This reverts commit aae576e5faefa8ba70647efa320d4747b6375f1e. Push and Pop are not portable "enough", and caused problems for some ACPICA customers. Signed-off-by: Robert Moore <Robert.Moore@intel.com> Signed-off-by: Lv Zheng <lv.zheng@intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/acpica/amlcode.h')
-rw-r--r--drivers/acpi/acpica/amlcode.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/acpi/acpica/amlcode.h b/drivers/acpi/acpica/amlcode.h
index 2db27109d70e..5908ccec6aea 100644
--- a/drivers/acpi/acpica/amlcode.h
+++ b/drivers/acpi/acpica/amlcode.h
@@ -46,8 +46,6 @@
46#ifndef __AMLCODE_H__ 46#ifndef __AMLCODE_H__
47#define __AMLCODE_H__ 47#define __AMLCODE_H__
48 48
49#pragma pack(push) /* Set default struct packing */
50
51/* primary opcodes */ 49/* primary opcodes */
52 50
53#define AML_NULL_CHAR (u16) 0x00 51#define AML_NULL_CHAR (u16) 0x00
@@ -486,6 +484,4 @@ typedef enum {
486#define AML_METHOD_SERIALIZED 0x08 484#define AML_METHOD_SERIALIZED 0x08
487#define AML_METHOD_SYNC_LEVEL 0xF0 485#define AML_METHOD_SYNC_LEVEL 0xF0
488 486
489#pragma pack(pop) /* Restore original struct packing */
490
491#endif /* __AMLCODE_H__ */ 487#endif /* __AMLCODE_H__ */