Received: by 2002:a05:6358:701b:b0:131:369:b2a3 with SMTP id 27csp4529594rwo; Tue, 25 Jul 2023 07:24:33 -0700 (PDT) X-Google-Smtp-Source: APBJJlG4QZ6UJhSAZ+4e/oKW06YyL0xrkXUA7ua8tP7PIiColiJ0wnhROu47qSWYb7UVJGtNWeU3 X-Received: by 2002:a05:6358:9894:b0:127:f2fb:d103 with SMTP id q20-20020a056358989400b00127f2fbd103mr8743755rwa.16.1690295072910; Tue, 25 Jul 2023 07:24:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690295072; cv=none; d=google.com; s=arc-20160816; b=YgVXs/Vr9ICTC5tY0xjKPf6gPYLHuB7VHbMyx0rXciSodylFPcbXLGn5gZmJwJbsvC Qj1KW018BBDvHE/Yiobq716xTSGVU78K8q+6WpxcucA42SFd18ryLnPD0ydxJFDcliE4 4SBP7PPlgW2o6q29qLL3j4IYtqTm7bQXBdfauwfL7xJxNiCOjXuG39OCMwWwiyyYvXfs xP+padgO0imXbyx9TNR4c2CZL5iS1w6hNWCLqxwTX9UanK3gHYpMKayP7Iq86S7My01D 9Hy22ie1PH6xG+E+lfILOwikT/iZWOG+DJb4gDGeNvK1k+PRoHvU01OrgNKLeWWI1VW6 9MEw== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d64-20020a633643000000b0055badd6d2d4si12012200pga.414.2023.07.25.07.24.20; Tue, 25 Jul 2023 07:24:32 -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 S231191AbjGYNuv (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 Content-Type: text/plain 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 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. * -- 2.34.1