Skip to contentSkip to conversation

Patch "ACPICA: Linuxize: Restore and fix Intel compiler build ACPICA: OSL: Cleanup the inclusion order of the compiler-specific headers" has been added to the 4.9-stable tree

PATCH [email protected] 1 participant 1 message Feb 24, 2017

Subsystems (3)
lore
Share & tools
lore

[email protected]

author maintainer Applied
#0 lore raw

This is a note to let you know that I've just added the patch titled

ACPICA: Linuxize: Restore and fix Intel compiler build
ACPICA: OSL: Cleanup the inclusion order of the compiler-specific headers

to the 4.9-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
acpica-linuxize-restore-and-fix-intel-compiler-build.patch
and it can be found in the queue-4.9 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.

Quoted 1 line

From ffab9188e444854882dbc291500d576d6bad7b7b Mon Sep 17 00:00:00 2001

From: Lv Zheng <[email protected]>
Date: Wed, 8 Feb 2017 11:00:01 +0800
Subject: ACPICA: Linuxize: Restore and fix Intel compiler build

From: Lv Zheng <[email protected]>

commit ffab9188e444854882dbc291500d576d6bad7b7b upstream.

ACPICA commit b59347d0b8b676cb555fe8da5cad08fcd4eeb0d3

The following commit cleans up compiler specific inclusions:

Commit: 9fa1cebdbfff3db8953cebca8ee327d75edefc40
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 9fa1cebdbfff (ACPICA: OSL: Cleanup the inclusion order of the compiler-specific headers)
---
 include/acpi/platform/acenv.h   |    2 
 include/acpi/platform/acintel.h |   87 ++++++++++++++++++++++++++++++++++++++++
 2 files changed, 88 insertions(+), 1 deletion(-)
include/acpi/platform/acenv.h +1 -1
@@ -177,7 +177,7 @@
 #include "acmsvc.h"
 
 #elif defined(__INTEL_COMPILER)
-#include "acintel.h"
+#include <acpi/platform/acintel.h>
 
 #endif
 
include/acpi/platform/acintel.h new file +87 -0

87 lines not on this page · raw message

Patches currently in stable-queue which might be from [email protected] are

queue-4.9/acpica-linuxize-restore-and-fix-intel-compiler-build.patch