From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932252AbcH3Qmw (ORCPT ); Tue, 30 Aug 2016 12:42:52 -0400 Received: from mga07.intel.com ([134.134.136.100]:37389 "EHLO mga07.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756735AbcH3Qmu (ORCPT ); Tue, 30 Aug 2016 12:42:50 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.30,257,1470726000"; d="scan'208";a="2783624" From: jeff.mcgee@intel.com To: isg-gms@eclists.intel.com Cc: Ankitprasad Sharma , "Rafael J. Wysocki" , Len Brown , linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, Jeff McGee Subject: [PATCH 10/15] acpi: Export acpi_bus_type Date: Tue, 30 Aug 2016 09:49:05 -0700 Message-Id: <20160830164910.1248-11-jeff.mcgee@intel.com> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20160830164910.1248-1-jeff.mcgee@intel.com> References: <20160830164910.1248-1-jeff.mcgee@intel.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Ankitprasad Sharma Some modules, like i915.ko, needs to detect when certain ACPI features are active inorder to prevent corruption on contended resources. In particular, use of BIOS RapidStart Technology may corrupt the contents of the reserved graphics memory, due to unalarmed hibernation. In which case i915.ko cannot assume that it (reserved gfx memory) remains unmodified and must recreate the contents and importantly not use it to store unrecoverable user data. Signed-off-by: Ankitprasad Sharma Cc: "Rafael J. Wysocki" Cc: Len Brown Cc: linux-acpi@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Jeff McGee --- drivers/acpi/scan.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/acpi/scan.c b/drivers/acpi/scan.c index 4b22ea8..7461bab 100644 --- a/drivers/acpi/scan.c +++ b/drivers/acpi/scan.c @@ -1269,6 +1269,7 @@ struct bus_type acpi_bus_type = { .remove = acpi_device_remove, .uevent = acpi_device_uevent, }; +EXPORT_SYMBOL_GPL(acpi_bus_type); static void acpi_device_del(struct acpi_device *device) { -- 2.9.3