From patchwork Thu Jul 20 14:35:55 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yue Haibing X-Patchwork-Id: 123338 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:c923:0:b0:3e4:2afc:c1 with SMTP id j3csp3173908vqt; Thu, 20 Jul 2023 07:53:08 -0700 (PDT) X-Google-Smtp-Source: APBJJlETwr9KbfFJbyZAgpyOi8NZZJaK63zdPukbqh300ydluXHFMbsEnOTRferQoBCU+ztdWhPS X-Received: by 2002:a17:90a:6fc4:b0:262:ea3e:e248 with SMTP id e62-20020a17090a6fc400b00262ea3ee248mr7936175pjk.7.1689864788468; Thu, 20 Jul 2023 07:53:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689864788; cv=none; d=google.com; s=arc-20160816; b=AgfzddZXZsYIcdNzTRuIlQarM0xT+Eiyk+svUhg+iNihEiBtBNwxBb1rVv2HIrkgLO 7S0v7P6KZ0FOpenU6YopgULG8ny3sieXztIZd+G/1KHUStTzFovD7oHTi9md0mAKUpIi 5MH7RTKM6qF71s8y68VpNwKM1JfTAczrPIZKn2o59nvc1a+hfDQI1R2T1tzc2oJlMged ni8FaD2zeACDEvlxrNTB9SxNU6FfPgR96qR8+gTe3MkM+tpaWG6DkIEj5jMxXASqiIap r8VaM5IPyARwsTTw4BTwNKoQhZ3x7lL7iEny6U1clPB9CU22kAMKiXptTqKz31Qf6IA4 RZqA== 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=cLDFoNBjR3nMylBRsMf+LHGA0XmhGHSs8NfzJJ5ZJoY=; fh=laAWygzA4rZD+O2eBo431q0uUbl3B5yYYc+tkDhBuMw=; b=jgIJquiCqPZ1ixqYde/Ln2kW2gUdyC4EltIQJK17fYvrXv/zp7SVb+/DzmEor3kj85 +/k87Fm/suVJml6+lHOGa7huu0BPyuSm1DcR2mj1Bssnnst75PweLGjn3SQ9elG9ZAhz 2Il+ek59uQa/O0Ez5Bfes8z6gpqYdkTr927COCWMJzt11Qfb1lMaV5eUyNUYD5lY7ock ZX8Alv/2yFdHwlP1bIExT2AeJ0DbFFuQmp2k2Tc/WbtYJMz6EKvlkfU4ai1pCW9IMjKT 4fDwipy17xv5WA0u5ZAXz7itlGLh8NSiV1WO6jCk5bsUo5af5lSWCbw5HvXX8vSw+s6h BtEQ== 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 mu10-20020a17090b388a00b002590f26818asi4106405pjb.0.2023.07.20.07.52.56; Thu, 20 Jul 2023 07:53:08 -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 S232271AbjGTOgI (ORCPT + 99 others); Thu, 20 Jul 2023 10:36:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59910 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230404AbjGTOgH (ORCPT ); Thu, 20 Jul 2023 10:36:07 -0400 Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4FA1DC6 for ; Thu, 20 Jul 2023 07:36:06 -0700 (PDT) Received: from canpemm500007.china.huawei.com (unknown [172.30.72.54]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4R6FbB1rL4zrRqY; Thu, 20 Jul 2023 22:35:18 +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; Thu, 20 Jul 2023 22:36:03 +0800 From: YueHaibing To: , , , CC: , Subject: [PATCH -next] arm64: Remove unsued extern declaration init_mem_pgprot() Date: Thu, 20 Jul 2023 22:35:55 +0800 Message-ID: <20230720143555.26044-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: dggems702-chm.china.huawei.com (10.3.19.179) 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: 1771951660169900790 X-GMAIL-MSGID: 1771951660169900790 commit a501e32430d4 ("arm64: Clean up the default pgprot setting") left behind this. Signed-off-by: YueHaibing Reviewed-by: Anshuman Khandual --- arch/arm64/include/asm/mmu.h | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm64/include/asm/mmu.h b/arch/arm64/include/asm/mmu.h index 4384eaa0aeb7..94b68850cb9f 100644 --- a/arch/arm64/include/asm/mmu.h +++ b/arch/arm64/include/asm/mmu.h @@ -64,7 +64,6 @@ extern void arm64_memblock_init(void); extern void paging_init(void); extern void bootmem_init(void); extern void __iomem *early_io_map(phys_addr_t phys, unsigned long virt); -extern void init_mem_pgprot(void); extern void create_mapping_noalloc(phys_addr_t phys, unsigned long virt, phys_addr_t size, pgprot_t prot); extern void create_pgd_mapping(struct mm_struct *mm, phys_addr_t phys,