Received: by 10.223.176.5 with SMTP id f5csp765660wra; Fri, 2 Feb 2018 05:51:52 -0800 (PST) X-Google-Smtp-Source: AH8x226wGlRLJoSUBCXyHh+8SUux7Hrs1NoCArD/rNIuffNWhQW1dZLYzVCvyWfJuu87gCjbDzXc X-Received: by 10.99.4.213 with SMTP id 204mr4818817pge.93.1517579512763; Fri, 02 Feb 2018 05:51:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517579512; cv=none; d=google.com; s=arc-20160816; b=vaKCsrudaRHsuSKSUOf5H+BWB2QfnslcKr2tla57Jfi7HwzEN5vFPurWIZ5XeAv2si ArQVfKKvtWTqCJGQiglO4w+yVCVd6/Dx7F3OFUc6ylO3ryjWL0Nky9kXJ94jIFMaI4kF S7KRW8Sgn4/oZGpfhbGAqZM16iDlA4uhcpnndBlyWYY4brlOUmkruTo1l6AypMhede/6 e+k2MPkc6lzPvEpw4pDkiGqu8t4Tp5nkSe2eOM6o5+/duFYY/Nw9QrKKeRBd+U6/arto Qxd9FaTLTQpfgqmnig1rtXcK9L9pOPiCIOyfgCV2h2o2dZVZsI+JQD7OT2OehXBAHkRB Wt7w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=d/AjPUxsvdy4tVmjdIM0XrCGOAg3C+RTEoQULmcWVj0=; b=tCit/hPU3rSNamyJqOPbNOTeLTqOEzlavFi6RTSfEUFQDm9qbTyj36byZNb0A5jIcA luKDze4/RSxkJjc1OeMoeYOcz/RB25MvqZB5m+iHgrk402kEx3KitVhI0Zxovn0dDLIy DawM93deR40lPFFd5r7PEIGlfbjP2MH752/sALkr04RR3EX6x7/Mpb9rq1TVg058U3hc 64tAVIqHci1yfi90Pz/S5wbHkpFpYIGW0zS6VIPLslHHhhym7TZeAcP2W2JPFtJ5LGSt ImYgyG9upLYPnjAQKhEk0KF3nupUCt8kjTV9CY8njREmFVJnmOXx/jcbBby68Qc7qBOE ykFw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l20si1110101pfa.253.2018.02.02.05.51.38; Fri, 02 Feb 2018 05:51:52 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752043AbeBBNtU (ORCPT + 99 others); Fri, 2 Feb 2018 08:49:20 -0500 Received: from mga07.intel.com ([134.134.136.100]:38327 "EHLO mga07.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751629AbeBBNs7 (ORCPT ); Fri, 2 Feb 2018 08:48:59 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 02 Feb 2018 05:48:59 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.46,448,1511856000"; d="scan'208";a="14968314" Received: from raj-desk2.iind.intel.com ([10.223.107.30]) by orsmga008.jf.intel.com with ESMTP; 02 Feb 2018 05:48:56 -0800 From: Rajneesh Bhardwaj To: platform-driver-x86@vger.kernel.org Cc: dvhart@infradead.org, andy@infradead.org, linux-kernel@vger.kernel.org, vishwanath.somayaji@intel.com, srinivas.pandruvada@linux.intel.com, "Rafael J . Wysocki" , Len Brown , linux-acpi@vger.kernel.org Subject: [Patch v2 1/5] ACPI / LPIT: Export lpit_read_residency_count_address() Date: Fri, 2 Feb 2018 19:13:33 +0530 Message-Id: <1517579017-19935-2-git-send-email-rajneesh.bhardwaj@intel.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1517579017-19935-1-git-send-email-rajneesh.bhardwaj@intel.com> References: <1517579017-19935-1-git-send-email-rajneesh.bhardwaj@intel.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Srinivas Pandruvada Export lpit_read_residency_count_address(), so that it can be used from drivers built as module. With the recent changes, the builtin_pci functionality of the intel_pmc_core driver is removed and now it can be built as a module to read this exported interface to calculate the PMC base address. Cc: Rafael J. Wysocki Cc: Len Brown Cc: linux-acpi@vger.kernel.org Acked-by: Rafael J. Wysocki Tested-by: Rajneesh Bhardwaj Signed-off-by: Srinivas Pandruvada --- drivers/acpi/acpi_lpit.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/acpi/acpi_lpit.c b/drivers/acpi/acpi_lpit.c index e94e478dd18b..cf4fc0161164 100644 --- a/drivers/acpi/acpi_lpit.c +++ b/drivers/acpi/acpi_lpit.c @@ -100,6 +100,7 @@ int lpit_read_residency_count_address(u64 *address) return 0; } +EXPORT_SYMBOL_GPL(lpit_read_residency_count_address); static void lpit_update_residency(struct lpit_residency_info *info, struct acpi_lpit_native *lpit_native) -- 2.7.4