Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755670AbaDWGyD (ORCPT ); Wed, 23 Apr 2014 02:54:03 -0400 Received: from mga01.intel.com ([192.55.52.88]:27906 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753442AbaDWGx5 (ORCPT ); Wed, 23 Apr 2014 02:53:57 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.97,910,1389772800"; d="scan'208";a="525374140" From: Lv Zheng To: "Rafael J. Wysocki" , Len Brown Cc: Lv Zheng , Lv Zheng , , linux-acpi@vger.kernel.org Subject: [PATCH v2 1/5] ACPICA: OSL: Add direct inclusion of extra header. Date: Wed, 23 Apr 2014 14:53:52 +0800 Message-Id: <43884d194fd55ca9124078d3374ec4cf4a8026ef.1398232408.git.lv.zheng@intel.com> X-Mailer: git-send-email 1.7.10 In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is a linuxized result of an ACPICA commit to upgrade the extra header mechanism. This patch enhances the extra header solution to allow Linux to use ACPI_USE_NATIVE_INTERFACE_HEADER and the file name can be automatically replaced during ACPICA release process. Using this way, the rest of the ACPICA users needn't know the name of the extra header file. Lv Zheng. Signed-off-by: Lv Zheng --- include/acpi/acpi.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/acpi/acpi.h b/include/acpi/acpi.h index ca0cb60..682398b 100644 --- a/include/acpi/acpi.h +++ b/include/acpi/acpi.h @@ -62,8 +62,8 @@ #include /* Resource Descriptor structs */ #include /* OSL interfaces (ACPICA-to-OS) */ #include /* ACPI core subsystem external interfaces */ -#ifdef ACPI_NATIVE_INTERFACE_HEADER -#include ACPI_NATIVE_INTERFACE_HEADER +#ifdef ACPI_USE_NATIVE_INTERFACE_HEADER +#include #endif #endif /* __ACPI_H__ */ -- 1.7.10 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/