Commit 4ac4c5fa authored by Committed by Rafael J. Wysocki
ACPICA: Headers: Deploy #pragma pack (push) and (pop).
Use push and pop to both guarantee that the correct alignment is used, and to restore the alignment to whatever it was before the header was included. It is reported that the #pragma pack(push/pop) directives are not supported by the specific GCCs, but this patch still doesn't affect kernel build as there are already #pragma pack() directives used in the old ACPICA headers, which means there shouldn't be GCCs that are currently used to compile the ACPI kernels do not support #pragma pack() directives. References: https://bugs.acpica.org/show_bug.cgi?id=1058Signed-off-by: Bob Moore <firstname.lastname@example.org> Signed-off-by: Lv Zheng <email@example.com> Signed-off-by: Rafael J. Wysocki <firstname.lastname@example.org>
Showing with 115 additions and 10 deletions