Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp4414300rwb; Mon, 31 Jul 2023 06:38:23 -0700 (PDT) X-Google-Smtp-Source: APBJJlEalw+fldffwZYasnBmnyRd3RVNokaq03IPTRz6qTFbuYAHXpfHDWKIPWU8ihFX5wzeTDLu X-Received: by 2002:a05:6a00:c8f:b0:680:98c:c593 with SMTP id a15-20020a056a000c8f00b00680098cc593mr11970548pfv.7.1690810703480; Mon, 31 Jul 2023 06:38:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690810703; cv=none; d=google.com; s=arc-20160816; b=d0JSb/3fFfIsAq/KCLqvbSezNmSNBipYYdCnz+9YOC2nvXZL1xhLiUCHbPOBnJ3MHI mdSt3XUC7SwyNQoTlrNsMwBnhwACBWTSmPs2xnjIVrTBCvfEgPiwSnxSi4UPxCMBnDak xbIp71UV69ZZeRaVc8+QkbEagyaD2qqVpo0cv2wCWh1ZYboR4oZ7AF6jyRIVakVDWh6N q0MOSoSljoQkybGHjPVum/uf6zIzI6/xY9Vfif0UnFd+GDYPIVD58+/rJzk4lQvmFqiH q/W8z/buM5kT6bmKSkII1M2BQJY665IsiK4t6/pj654lUgTY4NTXFpdqVu2YYX3tcQ38 AMLA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:robot-unsubscribe :robot-id:message-id:mime-version:references:in-reply-to:cc:subject :to:reply-to:sender:from:dkim-signature:dkim-signature:date; bh=si2rHQ7oAZJMqEY6pXFDHPBiIsEDLkyzqysOdhQbPi8=; fh=B65PaTPwsJO+lFgdMDzZgYWd8N7VgsRYpAOQ6GOiaV0=; b=chdxskzo2ucHtyOJUjJB+daR/+SCU9txkHITNnKKXZNt8bG1sTu4xn/78jvh1UekMc YDMfGLJYI2WuEe4t0fD0fTlWoy8MTNj8+r8EGyI6wiV7q57kRDiMsMNBLgAtiQ7Jx6gz zSQJFQFrYqIMmZjIDefRALm41t/ZrHV9/BNRG+sXn5m46nPPM2sTbk8O/r8mxaMwVxmj sGXXL8fRH97WZCdFPNJ7hMNlI6+oZTgD6JFOmFvlwpgHbuL4Ay27n3vdlynPjZCCfX92 UgreFh9Afca/+yGh/wOkEpcJrmOjJByz1NuG3nbl0VMI+77TaaS7Rzo2OD3YufNjHdtW hUsg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=ozxpSvP4; dkim=neutral (no key) header.i=@linutronix.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id cg14-20020a056a00290e00b006874802b48fsi568590pfb.54.2023.07.31.06.38.09; Mon, 31 Jul 2023 06:38:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=ozxpSvP4; dkim=neutral (no key) header.i=@linutronix.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231836AbjGaKTe (ORCPT + 99 others); Mon, 31 Jul 2023 06:19:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54712 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229661AbjGaKTc (ORCPT ); Mon, 31 Jul 2023 06:19:32 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F3D2EA6; Mon, 31 Jul 2023 03:19:31 -0700 (PDT) Date: Mon, 31 Jul 2023 10:19:29 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1690798770; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=si2rHQ7oAZJMqEY6pXFDHPBiIsEDLkyzqysOdhQbPi8=; b=ozxpSvP4x7YQES8NjLra9dpO7QSHryCYZJEqqFc8zP0UVS/7huvIuBGT7Pl35w8dp5EchU LXoPUzTYU75AJwi2LVY7d3j5vzcDsqFJhb7vXLntsZcKbx6p5lhvXW53MqbzbhKYhUrwaT CrjREpjQ/E8qNC959nMyY0pn0vSyokCzQ5Zq8VAnwLAlAHo2M38ZCtx7ouw3qtDzn6suf9 iRB35G3X6ahKTVJT4KOOqID16M+A+RxN6JxV9VRSyGed8iB90EJWubBb4fdt4ljYCnTtwd Ht9/o4s8f+35h1J3H5nVM96HO2eVVYmGhRwlubeoi3ykSgb5b0Z9dpQ0ehVPpQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1690798770; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=si2rHQ7oAZJMqEY6pXFDHPBiIsEDLkyzqysOdhQbPi8=; b=BOs2q+y6fnkGN2oRFnmhIrXdr5eHdfinQl8jY7Io6TYpr5eDYWiKg8QOdWb/KlhL4DdZ+1 FKjoIPYDY3TxkTAQ== From: "tip-bot2 for YueHaibing" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: perf/core] perf: Remove unused extern declaration arch_perf_get_page_size() Cc: YueHaibing , "Peter Zijlstra (Intel)" , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20230725135038.25060-1-yuehaibing@huawei.com> References: <20230725135038.25060-1-yuehaibing@huawei.com> MIME-Version: 1.0 Message-ID: <169079876986.28540.2484423091109012326.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The following commit has been merged into the perf/core branch of tip: Commit-ID: 62af03223785c11a0916df6a854ef4785d2350a5 Gitweb: https://git.kernel.org/tip/62af03223785c11a0916df6a854ef4785d2350a5 Author: YueHaibing AuthorDate: Tue, 25 Jul 2023 21:50:38 +08:00 Committer: Peter Zijlstra CommitterDate: Wed, 26 Jul 2023 12:28:48 +02:00 perf: Remove unused extern declaration arch_perf_get_page_size() commit 8af26be06272 ("perf/core: Fix arch_perf_get_page_size()") left behind this. Signed-off-by: YueHaibing Signed-off-by: Peter Zijlstra (Intel) Link: https://lkml.kernel.org/r/20230725135038.25060-1-yuehaibing@huawei.com --- include/linux/perf_event.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/include/linux/perf_event.h b/include/linux/perf_event.h index 9b1cf3c..e83f13c 100644 --- a/include/linux/perf_event.h +++ b/include/linux/perf_event.h @@ -1860,10 +1860,6 @@ extern void arch_perf_update_userpage(struct perf_event *event, struct perf_event_mmap_page *userpg, u64 now); -#ifdef CONFIG_MMU -extern __weak u64 arch_perf_get_page_size(struct mm_struct *mm, unsigned long addr); -#endif - /* * Snapshot branch stack on software events. *