From patchwork Tue Jul 25 13:50:38 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yue Haibing X-Patchwork-Id: 125631 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9010:0:b0:3e4:2afc:c1 with SMTP id l16csp2488698vqg; Tue, 25 Jul 2023 07:00:07 -0700 (PDT) X-Google-Smtp-Source: APBJJlHcd03mN5Tir0oLuAWS9jpa6Rk3BprLTrVvASD1SMQUokXHdaD7DbrXXZve1PX6KUo8yRsP X-Received: by 2002:a17:906:3095:b0:99b:b867:496d with SMTP id 21-20020a170906309500b0099bb867496dmr451286ejv.31.1690293607190; Tue, 25 Jul 2023 07:00:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690293607; cv=none; d=google.com; s=arc-20160816; b=tJQCNjc5WD0SV8dhVQ4LUBmdxIjy3ehdAq+S0bnJceCElQGDU998FCwHNXWXqDFF/S kn0h0jENZatWcyKj3h1DRiAnuqEP1DRwB5CJYRSsjg+rC94qdUnS6bWRyaInRVzW5TRf oItGqb+iQE1biPsaTIbcugeR/fkiHx/HDY0a95XKrsaJ5pqcM0j+M1+AqQ/EJN8xyPOu kT8SrIVqzeICCW0HDLS7y+u//A7J16y7TxPRA465aQQQv03X0hS1kaUBmSxiMTKyHYO6 xSbrzIqueQVuJclbKb6j0t8IVhVKDUmrzfraqvmZ3T3FZNURMUOa24i/kmoBtQMfTwzg rqtg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=kmrSg+cEJNAiczT/zEQY8kUL+cXYW2ZNnf6iT0oSKbI=; fh=UBZZSv6iSjGfCnc4k5F15sguDZGI4axct7n7mHSroME=; b=aX+Oa7fP9iFKUpG4H/YLQZnn0pu7tReHGxp8gDUxK3UCj/E0fP8zYMBUThbxv3MW30 wbFz+vpckuf7dqG/S3fgKLzHAPVLRop8R4z+vUgVKFHzkqixyEKgeiYfmCcK26WBYnOb nwpzNyqliTmOYDoLPfE5Y+31RU2fqTl9V7jHcSrgdJD5E250XFs+580qa8LWYtuxpLQT cnz3rnUs+NxkGPGHpI6LkJEZPfjnY/0mVDbyAOuiqBLcVqmngaeI+pDm/7qtQbq7zQaL 8e3WL4okTISpqVdAH7lJiFJQGojz7LfiAsG304SMQ0TBP5oWN6PTQEsfVA7mmGq2x+Zg hE3w== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d24-20020a17090694d800b00992bfd00fdbsi7785920ejy.971.2023.07.25.06.59.42; Tue, 25 Jul 2023 07:00:07 -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; 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=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231467AbjGYNuv (ORCPT + 99 others); Tue, 25 Jul 2023 09:50:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44964 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230315AbjGYNuu (ORCPT ); Tue, 25 Jul 2023 09:50:50 -0400 Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EB3F2100; Tue, 25 Jul 2023 06:50:48 -0700 (PDT) Received: from canpemm500007.china.huawei.com (unknown [172.30.72.55]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4R9JHc33hRzCrM1; Tue, 25 Jul 2023 21:47:24 +0800 (CST) Received: from localhost (10.174.179.215) by canpemm500007.china.huawei.com (7.192.104.62) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Tue, 25 Jul 2023 21:50:46 +0800 From: YueHaibing To: , , , , , , , , CC: , , YueHaibing Subject: [PATCH -next] perf: Remove unused extern declaration arch_perf_get_page_size() Date: Tue, 25 Jul 2023 21:50:38 +0800 Message-ID: <20230725135038.25060-1-yuehaibing@huawei.com> X-Mailer: git-send-email 2.10.2.windows.1 MIME-Version: 1.0 X-Originating-IP: [10.174.179.215] X-ClientProxiedBy: dggems706-chm.china.huawei.com (10.3.19.183) To canpemm500007.china.huawei.com (7.192.104.62) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,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 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1772401309501192694 X-GMAIL-MSGID: 1772401309501192694 commit 8af26be06272 ("perf/core: Fix arch_perf_get_page_size()") left behind this. Signed-off-by: YueHaibing --- 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 2166a69e3bf2..198cc86b747e 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. *