Received: by 2002:a05:7412:251c:b0:e2:908c:2ebd with SMTP id w28csp797212rda; Sun, 22 Oct 2023 10:06:45 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGGUb4KQD/N17ggXUTG4f9U05aLJC8WQO3Z7/e62kjhecWDXi8vx/LXT72HXddc228w1Uft X-Received: by 2002:a17:90a:7e11:b0:27d:9ed:96fc with SMTP id i17-20020a17090a7e1100b0027d09ed96fcmr5286553pjl.29.1697994404962; Sun, 22 Oct 2023 10:06:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697994404; cv=none; d=google.com; s=arc-20160816; b=uxQpe2zhN25kK7VSVNqvALRcsCnWXCqI1ZPjAszx+IyUz93TZKWbQzQ6AIs/mkD5GJ D/A3MEWfkUWzl8PafPNuS5+0cZzNLrAkgtkzBlhJGmKZxQkPcxISLRbWGWbLKwALLNoh JVjUBuyvXSTSnnOpUCpOWJ1nv3SIbZbXJjJeQ6dyZODRLcxEoU81Ncme6Ow560wGH4Ai 4TEjmhSaiFi1de97DgzIKIbR2/ctMqSTVFwtDnRCEW6h1Fk4Hnz2Ui7ttkwJvYiajLZj CfPAfVXkicnzjde0GraGiSkQ2HuWiz5EkoOFzDIsKaaz1eU1imnnvXInotm3jKQ+gjCV bH0Q== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=C9zbktBsvrxkA7PTBz1VFc43yZi3t4PV5OIeLvDTfwc=; fh=wKrPioF+0wPaktGqmf0aQvlk8PY4Pc32rTAsBSAiP8I=; b=jluLUtdO2JF7oMF7Vlw7n2plIHCDOOtl78wf1eQnnDxAwY2oYhh/GvxwU27E40br5J 2+8XoUQAOtbkuhMO8KJqM50FWzqq8dZzNpRcqvMz6Uop6NuHLNiiOdyMqz8V1mFcxZND slch1ZH3vu67zxE5wXUe3XGuge37HAqDdXZsH+6SgaPPMFHiHH+CXKlwIDiC8GCe9OS6 xFqYcwWi89/TBLmGnFgRfCpNtN92mfzdl9tiY1iNFt7LTtPJom2uqQJopLP7HzW0seNB gQZjSmZsJVsF7oW2ko1qWsQp4upDmfTHdHBzzcoUMcm1tlf5owsbdZ3E42U6aHAMrs6Y Y5Wg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=E+votQPO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id a10-20020a17090a8c0a00b0027d4f7298e2si7569664pjo.65.2023.10.22.10.06.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 22 Oct 2023 10:06:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=E+votQPO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 8294380560F2; Sun, 22 Oct 2023 10:06:40 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232517AbjJVRG3 (ORCPT + 99 others); Sun, 22 Oct 2023 13:06:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33464 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232473AbjJVRGZ (ORCPT ); Sun, 22 Oct 2023 13:06:25 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 185F9124; Sun, 22 Oct 2023 10:06:24 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9D55CC433C7; Sun, 22 Oct 2023 17:06:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1697994383; bh=mnjPdsDS3enDm6WXK4/X4WMDdmcRPpl/JrVaMfXuHA4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=E+votQPOQvger1N5hYN7MOnDeOx47VZpkOSweEfnd691hHxUNuOevb15IZhg0jsIO s4XfHcHt8+f+SIhUZ4nA08sTKbS/QaQ4S3SjMQsSYsZ3v8ACdJ5Yb/iZYf9w1ULBzj Q2c2PorpNQ1c2GOMo0hyAwi6ySlPBdUbkzM8JVnwNVtsxewBt+AVbJ4lgTw9q0QBFR gmMdOqVhZ40SSzwMQDziRAlDyP6qdtejWvWhWyIFMVhMrtmPIzUiN8r66zpRWtjfHE j98xRRzdrNfqEQ9Afsc3/O6VQIgiuoR3EQDSnJLCEXgUP9K6zN0pZFaD6FwSu0OGpG QM6ZLG3jZhqhA== From: Masahiro Yamada To: linux-kbuild@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Masahiro Yamada , Nathan Chancellor , Nick Desaulniers , Nicolas Schier Subject: [PATCH 05/10] modpost: remove MEM_INIT_SECTIONS macro Date: Mon, 23 Oct 2023 02:06:08 +0900 Message-Id: <20231022170613.2072838-5-masahiroy@kernel.org> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20231022170613.2072838-1-masahiroy@kernel.org> References: <20231022170613.2072838-1-masahiroy@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Sun, 22 Oct 2023 10:06:40 -0700 (PDT) ALL_XXXINIT_SECTIONS and MEM_INIT_SECTIONS are the same. Remove the latter. Signed-off-by: Masahiro Yamada --- scripts/mod/modpost.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/mod/modpost.c b/scripts/mod/modpost.c index 19b138664f75..626ab599eea2 100644 --- a/scripts/mod/modpost.c +++ b/scripts/mod/modpost.c @@ -805,7 +805,7 @@ static void check_section(const char *modname, struct elf_info *elf, ".pci_fixup_enable", ".pci_fixup_resume", \ ".pci_fixup_resume_early", ".pci_fixup_suspend" -#define ALL_XXXINIT_SECTIONS MEM_INIT_SECTIONS +#define ALL_XXXINIT_SECTIONS ".meminit.*" #define ALL_INIT_SECTIONS INIT_SECTIONS, ALL_XXXINIT_SECTIONS #define ALL_EXIT_SECTIONS EXIT_SECTIONS @@ -818,7 +818,6 @@ static void check_section(const char *modname, struct elf_info *elf, ".coldtext", ".softirqentry.text" #define INIT_SECTIONS ".init.*" -#define MEM_INIT_SECTIONS ".meminit.*" #define EXIT_SECTIONS ".exit.*" -- 2.40.1