From patchwork Wed May 17 08:31:20 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jan Glauber X-Patchwork-Id: 9730401 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 09C45602DB for ; Wed, 17 May 2017 08:32:31 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id ECAAE2860C for ; Wed, 17 May 2017 08:32:30 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E17392861B; Wed, 17 May 2017 08:32:30 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.4 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_SORBS_SPAM autolearn=no version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 9AA172860C for ; Wed, 17 May 2017 08:32:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=7o5gM/Zkf1KbcT23lB0zDbFL1qNel2+i5l7oHPmJv3Y=; b=Z8Z8ciZhbC61YVf8Pqe6qOuYol oxHcUq38K017qNyCSw+aRmrBSmpdGgvpJvN0VTFB0JMYl0OQfR1ZiYK7VSu2S9cXzWl5IySY+9yV1 BJspo9TbUg9kiqgnN+yAL2pTsRAfUWQzbnABs0JBFHCQP1e0gjG8Q4iplHtB8MbrZdpIl5CuB/DEp jKULrgVyyxTlClrtmdplqwCda2ThWn9yB2BrP+aKBmtPZ/+FpiUwED7YPOmiAKm3w2z/pvBEDfAGa kG/JuBKMWqX5BMnQ7D5Xq2DZvmasLu6eTqhZWKR1EpAfT8zXQHTu2a+nBZwsWheSpXlMpDo/ZEYtP HQekOnKg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dAuNh-0004OR-0K; Wed, 17 May 2017 08:32:29 +0000 Received: from mail-wr0-f194.google.com ([209.85.128.194]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dAuNS-00046g-FV for linux-arm-kernel@lists.infradead.org; Wed, 17 May 2017 08:32:16 +0000 Received: by mail-wr0-f194.google.com with SMTP id w50so612327wrc.0 for ; Wed, 17 May 2017 01:31:54 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=ld7CosZYyMuWKqsO5Du34mEYf7aGWlhy+qCNCEE9p2M=; b=dmfjV1g2b54REZX26yJfmDUjBUiBHkp03uXAGFPb4YGTLP9GZhvsVQ2boC43XCBE6O M2ebBkmyNAdmwC9c8b+p2w2+upyWC8cI81ZuIktaeSIeaWiEYXBeaKumV9RHweSBF5UL ZQBdahKoHSQnbPC+yFZmhM0kWv+LiKUB4p+0cEihUWIo9oap1Thpi+P4GKCoj8B4Qf4E IxICRo9UInmhi9a+4ihAhPtujhOwq5iHjHxhqq3CXRk40pw+bXmrYoAMZ9mAqRdc5Wfs xBDZkYXodl+Febz3o0V+1tj+ecv1qQ/VlsxQTDq1vzrGNnrGo6ju1RBka4N3YqsPAMiL K6Pw== X-Gm-Message-State: AODbwcBgMgI3PCoGPInl1Rt31JrcK8oSP3vQLg0lCUuGFTnK48W76Ivq VynM+ksfTrgaEGQk X-Received: by 10.223.154.240 with SMTP id a103mr1279707wrc.5.1495009912838; Wed, 17 May 2017 01:31:52 -0700 (PDT) Received: from hc.fritz.box (HSI-KBW-046-005-204-067.hsi8.kabel-badenwuerttemberg.de. [46.5.204.67]) by smtp.gmail.com with ESMTPSA id l81sm17090224wmi.22.2017.05.17.01.31.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 17 May 2017 01:31:52 -0700 (PDT) From: Jan Glauber To: Will Deacon Subject: [PATCH v5 1/3] perf: export perf_event_update_userpage() Date: Wed, 17 May 2017 10:31:20 +0200 Message-Id: <20170517083122.5050-2-jglauber@cavium.com> X-Mailer: git-send-email 2.9.0.rc0.21.g7777322 In-Reply-To: <20170517083122.5050-1-jglauber@cavium.com> References: <20170517083122.5050-1-jglauber@cavium.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170517_013214_673944_D79F3018 X-CRM114-Status: UNSURE ( 9.36 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mark.rutland@arm.com, Borislav Petkov , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Jan Glauber MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Export perf_event_update_userpage() to make it usable from a module. 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 6e75a5c..6578b9f 100644 --- a/kernel/events/core.c +++ b/kernel/events/core.c @@ -4933,6 +4933,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) {