Received: by 10.223.176.46 with SMTP id f43csp749034wra; Fri, 19 Jan 2018 01:05:41 -0800 (PST) X-Google-Smtp-Source: ACJfBov5hW0g65uQdYFNuN0Rry4mMMFfuUW+bcvB51AMyFDJKi0SiG/voHMvRkCDDsZ2Ni7JewL/ X-Received: by 10.99.42.83 with SMTP id q80mr39299079pgq.183.1516352741139; Fri, 19 Jan 2018 01:05:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516352741; cv=none; d=google.com; s=arc-20160816; b=uBVBpekvqO+FEC4aEpkeh1w0QejChacz7SIFzj7T6/Pbubz0UTIdTSSOHzVrIRdHDO 7g1dywkFftH605lh6vJo2gnGGcik3yztlXGIRC5cZVyFSj/PEKL7UwlzY7j3qkI5qd4t grdcvU3peY+r0eepBasHNoTmxDQPQF55oilXCJ70K5HaKlgDj9WCjNsA2pFu/3mEymAQ OZG389e4z1T+dGaMMsVyUcHt5FJFs5hUf6nTA9e2gna6iHhTAWrmDfSpkxCp02fzZv1p 2Y3qERAtUFg0j1umwLYD9EVECaA0XGwaiJlkwkvD4Ka/H1N0as0lXmqL+3Z1ThwQlR+8 riYw== 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=wKQsglj3UE+j2FZVSMv6IG8lZWGPlzCs1xX8TViHwQ0=; b=dbW30Bez8ARNu+AEbX4Fqlwom9V8eJ0Wqq7G7XRMOwyc8lAt3pNv7BwKybADr/23iM i2NUDlR2B7ik5R/L0VScqjJ2Nyb2uWCm3VNohWYvh03aI7ZnMfE46w3dpRjg24dsyni7 l11YGXLWiAlj4PEw2sn2ZRiK4r9hiv8SS+0M94Ebf2h3Baa86R49qKHVhO4BiNdvNJzM coVpKjBP5iUEyH+yyxrFNrNIj1NxFyT1X3MQBxckHW2C60ZKQfoaopgF/GUGlINg8eG+ UqnCOlsxHrUusDtFGEj2SEDzipfkdqYGQfSyIA+76E8AjGUF11AJ3hnYNEBaLWCMbMde bQYg== 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 m69si8919372pfc.51.2018.01.19.01.05.27; Fri, 19 Jan 2018 01:05:41 -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 S1755307AbeASJE3 (ORCPT + 99 others); Fri, 19 Jan 2018 04:04:29 -0500 Received: from mga06.intel.com ([134.134.136.31]:52686 "EHLO mga06.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755245AbeASJEA (ORCPT ); Fri, 19 Jan 2018 04:04:00 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 19 Jan 2018 01:03:57 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.46,381,1511856000"; d="scan'208";a="197007738" Received: from raj-desk2.iind.intel.com ([10.223.107.30]) by fmsmga006.fm.intel.com with ESMTP; 19 Jan 2018 01:03:54 -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 v1 3/8] ACPI / LPIT: Export lpit_read_residency_count_address() Date: Fri, 19 Jan 2018 14:28:22 +0530 Message-Id: <1516352307-20123-4-git-send-email-rajneesh.bhardwaj@intel.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1516352307-20123-1-git-send-email-rajneesh.bhardwaj@intel.com> References: <1516352307-20123-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 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