Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756655AbaDWGyy (ORCPT ); Wed, 23 Apr 2014 02:54:54 -0400 Received: from mga03.intel.com ([143.182.124.21]:26885 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756589AbaDWGys (ORCPT ); Wed, 23 Apr 2014 02:54:48 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.97,910,1389772800"; d="scan'208";a="422363299" From: Lv Zheng To: "Rafael J. Wysocki" , Len Brown Cc: Lv Zheng , Lv Zheng , , linux-acpi@vger.kernel.org Subject: [PATCH v2 5/5] ACPICA: Remove deprecated _LINUX definitions for ACPICA. Date: Wed, 23 Apr 2014 14:54:22 +0800 Message-Id: <8e6c90efc629b463709aef5da4957e916fdc0437.1398232409.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 There are _LINUX defined so that when Linux kernel is compiled using broken compilers that having not __linux__ defined can still include from . This behavior is deprecated as all drivers/acpi/acpica files are compiled without including , thus without _LINUX defined. As there is no issues encountered when we compile ACPICA code without _LINUX defined, it is OK to remove _LINUX from now. Signed-off-by: Lv Zheng --- include/linux/acpi.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/include/linux/acpi.h b/include/linux/acpi.h index 7a8f2cd..9c559f7 100644 --- a/include/linux/acpi.h +++ b/include/linux/acpi.h @@ -31,10 +31,6 @@ #ifdef CONFIG_ACPI -#ifndef _LINUX -#define _LINUX -#endif - #include #include -- 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/