]> 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)
commit37ec71a6caaa4cf7469c5ee286b3fa7129cf1e2d
tree10e42910878a1cf727893d11013cb29d35b9e751
parent747e0408e4442f60746365d8e11fd249b19100ed
ACPICA: Linuxize: Restore and fix Intel compiler build

ACPICA commit b59347d0b8b676cb555fe8da5cad08fcd4eeb0d3

The following commit cleans up compiler specific inclusions:

  Commit: b29a4a2f2572b4d6674da7900940d5da69372211
  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: b29a4a2f2572 (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]