Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756502AbaDHIDN (ORCPT ); Tue, 8 Apr 2014 04:03:13 -0400 Received: from mga09.intel.com ([134.134.136.24]:29598 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756439AbaDHICv (ORCPT ); Tue, 8 Apr 2014 04:02:51 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.97,816,1389772800"; d="scan'208";a="489107752" From: Lv Zheng To: "Rafael J. Wysocki" , Len Brown Cc: Lv Zheng , Lv Zheng , , linux-acpi@vger.kernel.org Subject: [PATCH 4/4] ACPICA: Remove deprecated _LINUX definitions for ACPICA. Date: Tue, 8 Apr 2014 15:57:15 +0800 Message-Id: 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/