]> git.baikalelectronics.ru Git - kernel.git/commit
ACPICA: Linuxize: Restore and fix Intel compiler build
authorLv Zheng <lv.zheng@intel.com>
Wed, 8 Feb 2017 03:00:01 +0000 (11:00 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 9 Feb 2017 13:35:59 +0000 (14:35 +0100)
commitde252ee0124fa37a0c952ce452c9c004bc03db78
tree10e42910878a1cf727893d11013cb29d35b9e751
parent003266124f2b920b0ecdd84494738ef55348c65b
ACPICA: Linuxize: Restore and fix Intel compiler build

ACPICA commit b59347d0b8b676cb555fe8da5cad08fcd4eeb0d3

The following commit cleans up compiler specific inclusions:

  Commit: 745207eb111290456a696b601f6e01bd3f68b3b7
  Subject: ACPICA: OSL: Cleanup the inclusion order of the compiler-specific headers

But breaks one thing due to the following old issue:

 Buidling Linux kernel with Intel compiler originally depends on acgcc.h
 not acintel.h.

So after making Intel compiler build working in ACPICA upstream by
correctly using acintel.h, it becomes unable to build Linux kernel using
Intel compiler as there is no acintel.h in the kernel source tree.

This patch releases acintel.h to Linux kernel and fixes its inclusion in
acenv.h.

Fixes: 745207eb1112 (ACPICA: OSL: Cleanup the inclusion order of the compiler-specific headers)
Link: https://github.com/acpica/acpica/commit/b59347d0
Cc: 4.9+ <stable@vger.kernel.org> # 4.9+
Tested-by: Stepan M Mishura <stepan.m.mishura@intel.com>
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
include/acpi/platform/acenv.h
include/acpi/platform/acintel.h [new file with mode: 0644]