Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753804AbdH2NOP (ORCPT ); Tue, 29 Aug 2017 09:14:15 -0400 Received: from mail-wm0-f66.google.com ([74.125.82.66]:34122 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752580AbdH2NNK (ORCPT ); Tue, 29 Aug 2017 09:13:10 -0400 From: Jan Glauber To: Mark Rutland , Will Deacon Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Suzuki K Poulose , Borislav Petkov , David Daney , Jan Glauber , Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo Subject: [RFC PATCH v9 4/7] perf: export perf_event_update_userpage() Date: Tue, 29 Aug 2017 15:12:35 +0200 Message-Id: <20170829131238.4988-5-jglauber@cavium.com> X-Mailer: git-send-email 2.9.0.rc0.21.g7777322 In-Reply-To: <20170829131238.4988-1-jglauber@cavium.com> References: <20170829131238.4988-1-jglauber@cavium.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 733 Lines: 26 Export perf_event_update_userpage(). This change is needed to allow building a PMU driver as a kernel module. Cc: Peter Zijlstra Cc: Ingo Molnar Cc: Arnaldo Carvalho de Melo Signed-off-by: Jan Glauber --- kernel/events/core.c | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/events/core.c b/kernel/events/core.c index 3504125..639bbf5 100644 --- a/kernel/events/core.c +++ b/kernel/events/core.c @@ -4977,6 +4977,7 @@ void perf_event_update_userpage(struct perf_event *event) unlock: rcu_read_unlock(); } +EXPORT_SYMBOL_GPL(perf_event_update_userpage); static int perf_mmap_fault(struct vm_fault *vmf) { -- 2.9.0.rc0.21.g7777322