2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-24 05:04:00 +08:00
linux-next/tools/power/acpi
Lv Zheng e323c02dee ACPICA: MSVC9: Fix <sys/stat.h> inclusion order issue
ACPICA commit 9bb265c2afb9910e46f820d6759648580edabd09

When /Za is specified, headers of some Windows SDKs contain bugs breaking
VC builds, and MSVC9's default SDK is one of such header-buggy library.

In order to solve this issue, many VC developers stop using /Za. However
we've been asked to have this fixed without removing /Za.

In MSVC9 default SDK, this issue can be fixed by restricting <sys/stat.h>
to be the last standard file included by every source file in the projects.
This patch thus moves <sys/stat.h> inclusion to "acapps.h", so that this
issue can be fixed by ensuring that "acapps.h" is always the last standard
file included by all of the ACPICA source files. This is in fact also a
useful cleanup because applications can only include one header (e.x.,
acpidump.h) instead of including acapps.h separately. Lv Zheng.

Except some harmless header inclusion re-ordering, Linux kernel is not
affected by this change.

Link: https://github.com/acpica/acpica/commit/9bb265c2
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2016-08-13 03:09:35 +02:00
..
common ACPICA: Clib/EFI: Fix wrong order of standard integer types/IO handles 2016-08-13 03:09:35 +02:00
man ACPI / acpidump: Update acpidump manual 2015-07-01 23:17:55 +02:00
os_specific/service_layers ACPICA: OSL: Add correct acpi_gbl_debug_timeout export to allow acpiexec to link 2016-08-13 03:09:33 +02:00
tools ACPICA: MSVC9: Fix <sys/stat.h> inclusion order issue 2016-08-13 03:09:35 +02:00
Makefile tools/power/acpi: Add userspace AML interface support 2015-12-15 00:17:44 +01:00
Makefile.config tools/acpi: use CROSS_COMPILE to define prefix 2016-06-23 15:32:16 +02:00
Makefile.rules tools/power/acpi: Add descend support in ACPI tools Makefile 2015-07-31 23:39:31 +02:00