From patchwork Wed Nov 16 08:43:02 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anshuman Khandual X-Patchwork-Id: 20813 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp30633wru; Wed, 16 Nov 2022 00:52:59 -0800 (PST) X-Google-Smtp-Source: AA0mqf72cPSWdce2TEAV9N6K3zRgYxtuf8za2kaETD+NulRgt61OZ3qYg+unCsoEUPSkOK+HptUW X-Received: by 2002:a17:90a:d38c:b0:214:ba3:4eb1 with SMTP id q12-20020a17090ad38c00b002140ba34eb1mr2726990pju.161.1668588778904; Wed, 16 Nov 2022 00:52:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668588778; cv=none; d=google.com; s=arc-20160816; b=fLDCw5IO8RdiVMMzGvB1l4x9yCCE5TAS8wTm1N3xv/RQdiB3FNupqeEYoON3Ey1UQi SkXX/3QRjG0ve/S1m7XT7DhhA0QWC2seyYHuIp9ChzmNoucBVo9ii/mI9DLxz6gTxWsu I1mBJMCLRqYZbHwhVx4bUGAK7gaKoOHTyY2WqRT6eGR7XgNEp8Ua89rPEc+B1f70EitW uXeaBB5F1yxuyaS1H1Pl70i9ZBJ0jAugEB3rSq5jv3UME6uuKOiv78xfZ6lRRzDx/Ag1 06oOcuZRHIFD7wsao5lfiq7dDFc/sQU55K66i+3O/fNG/dw3T3XZNNwLz76qOfYiuFUw 9UOg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=3lB8LZFGfuKVodNlGNUWwsn3Q6Byqp7N965K8DJ2X7o=; b=X1F1TiEwv7qPuyXVzorMCxIzIBBBJ/VvFls8YSVJpGSiNzyOJfKCnBvypCc9ejC2in YL4eHA56b8lDRGQ3Yj43t21P36mxpj/EDGzkDZbFUCoRiluERujJSVinUqS3zx6Q/igQ 7L5k4i7Eo6RFHB5MsLK6ruc9evM0tYMzsni2NkEQ7bzxKQqlZ0B+gadTRVGNpL3V2fnD jboLVBo1PAkdmeKShv+b8mCtgLCin8NppqtlrkfjC/E8c+QGG3tnEm8zNdXB5idZ/K1U fkhzyboBT1MkbM7tOsIOpDDliEib/tKwwqjz9ws0NX0Yxs8ob0Db6BoLqo/gyWX5igd3 rnnw== 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=NONE sp=NONE dis=NONE) header.from=arm.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c26-20020aa7953a000000b005638dc03ab3si13727583pfp.323.2022.11.16.00.52.41; Wed, 16 Nov 2022 00:52:58 -0800 (PST) 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=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233227AbiKPInQ (ORCPT + 99 others); Wed, 16 Nov 2022 03:43:16 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43534 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230075AbiKPInO (ORCPT ); Wed, 16 Nov 2022 03:43:14 -0500 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 42C897649 for ; Wed, 16 Nov 2022 00:43:13 -0800 (PST) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 111B81477; Wed, 16 Nov 2022 00:43:19 -0800 (PST) Received: from a077893.blr.arm.com (unknown [10.162.40.17]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 075313F587; Wed, 16 Nov 2022 00:43:09 -0800 (PST) From: Anshuman Khandual To: linux-arm-kernel@lists.infradead.org Cc: Anshuman Khandual , Catalin Marinas , Will Deacon , Mark Rutland , Andrew Morton , linux-kernel@vger.kernel.org Subject: [PATCH] arm64/mm: Drop idmap_pg_end[] declaration Date: Wed, 16 Nov 2022 14:13:02 +0530 Message-Id: <20221116084302.320685-1-anshuman.khandual@arm.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE 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: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1749642147103930233?= X-GMAIL-MSGID: =?utf-8?q?1749642147103930233?= idmap_pg_end[] is not used anywhere, hence just drop its declaration. Cc: Catalin Marinas Cc: Will Deacon Cc: Mark Rutland Cc: Andrew Morton Cc: linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Anshuman Khandual --- This applies on v6.1-rc5 arch/arm64/include/asm/pgtable.h | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm64/include/asm/pgtable.h b/arch/arm64/include/asm/pgtable.h index fe76e5823d91..d80622ed5b75 100644 --- a/arch/arm64/include/asm/pgtable.h +++ b/arch/arm64/include/asm/pgtable.h @@ -609,7 +609,6 @@ extern pgd_t init_pg_dir[PTRS_PER_PGD]; extern pgd_t init_pg_end[]; extern pgd_t swapper_pg_dir[PTRS_PER_PGD]; extern pgd_t idmap_pg_dir[PTRS_PER_PGD]; -extern pgd_t idmap_pg_end[]; extern pgd_t tramp_pg_dir[PTRS_PER_PGD]; extern pgd_t reserved_pg_dir[PTRS_PER_PGD];