Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp441287iog; Mon, 13 Jun 2022 06:04:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJycbeQQEmjMTHcL8sBuQoh4g3xIVorX3nqqw3Zl5HqIxyWDDN6zI+vOmYd1nW5ci52xTDvD X-Received: by 2002:a05:6402:27d0:b0:42d:fbe2:57d9 with SMTP id c16-20020a05640227d000b0042dfbe257d9mr66667745ede.47.1655125384613; Mon, 13 Jun 2022 06:03:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655125384; cv=none; d=google.com; s=arc-20160816; b=Cr8AxNQAbyvPVITpOocZC0NIsIy/kbmFLC8qxqSmZ3vzSusslPymOhGaEEklAC3B7x nyrczskA3sxaSd3HxqqPkWSGvrsTiXdbkWvKwkz3V19nPHjWLNSXERvZK7LpEiuP/lFC geY/W2lLo/VbZATJ5LLK79DXPGjRtfNZB4I3pVAW9NEyUX+hUdb6kj6wv20EUcg8qY3x LGGNSv4B+NGw7B0X/2+z+isBYI+kSBGwu90Cx0sFjbpxHk1Y2BoKh3tBWRJ/5cIGf9E1 1d3/OP80a+lUba7O+mCCdpsbdqw+hb1hDZqDPOkyR1L/Em/Z/rRpzJl78/YwHm7kziGG 6gBw== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=0IM4G9k2OCD5dOrxHOSieG0vSo0J5nPQO5lYgtjJWFA=; b=iD8ftRJkcNDN6xYfaYjHAXb/zX7/FVWA1gZwHsaONjyelzVnbbH4+uizHjl1FJx/Vs Rm4c74kr7KVK0E7ZOBEQo8/YRiDl1um2h5zJPJ+IHhzjPMt9RlgklMuUTM2aOYVdlyHe p3pCKKE5nj9Ufh5lOpw3i2m1KFbdpGhdeHf7K4P21ixP/757Bntw7kOS4XdCUTty00OW +BwYvPt/zPqHrX2e7pvtWa+oCVx5nKWMc6i9xhDJlpWZn3fnvLMh5iCPft14GrDzLxGm lAhZNNOw+ZkNl9DZAG0V1qnPplSEM1Z5ZdmgL2obxybCJ3Edjztr4HlO/Wyap4JnxG56 K1pQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=Z3mOVbp6; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hp1-20020a1709073e0100b0070ad067c3d9si7232176ejc.773.2022.06.13.06.02.37; Mon, 13 Jun 2022 06:03:04 -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; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=Z3mOVbp6; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1350923AbiFMLFl (ORCPT + 99 others); Mon, 13 Jun 2022 07:05:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44794 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346280AbiFMKzP (ORCPT ); Mon, 13 Jun 2022 06:55:15 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4CDA925298; Mon, 13 Jun 2022 03:32:04 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id DE00660AE6; Mon, 13 Jun 2022 10:32:03 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id F145AC34114; Mon, 13 Jun 2022 10:32:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1655116323; bh=tLQniskwC4HxyoDCXtqkn6E88GnH2rlxub6ocwGk+54=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Z3mOVbp6FnY+t7DFtAay4zgAh45ZbXd5M3aYUW+SS0xCooPGdIrvIQaIVGovDbasM q9KojBrOgHDU9151jmDLRh3dKW4WTD+/ZHu1Euyk2bqqBqDjxPHjpOK6H7R4F7qHTi IF+wrYb1UBjHjIUV9iy9DbE7Ciy5IJj786eExz0s= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, kernel test robot , Geert Uytterhoeven , Greg Ungerer , Sasha Levin Subject: [PATCH 4.14 170/218] m68knommu: fix undefined reference to `_init_sp Date: Mon, 13 Jun 2022 12:10:28 +0200 Message-Id: <20220613094925.760533226@linuxfoundation.org> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220613094908.257446132@linuxfoundation.org> References: <20220613094908.257446132@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-8.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 From: Greg Ungerer [ Upstream commit a71b9e66fee47c59b3ec34e652b5c23bc6550794 ] When configuring a nommu classic m68k system enabling the uboot parameter passing support (CONFIG_UBOOT) will produce the following compile error: m68k-linux-ld: arch/m68k/kernel/uboot.o: in function `process_uboot_commandline': uboot.c:(.init.text+0x32): undefined reference to `_init_sp' The logic to support this option is only used on ColdFire based platforms (in its head.S startup code). So make the selection of this option depend on building for a ColdFire based platform. Reported-by: kernel test robot Reviewed-by: Geert Uytterhoeven Acked-by: Geert Uytterhoeven Signed-off-by: Greg Ungerer Signed-off-by: Sasha Levin --- arch/m68k/Kconfig.machine | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/m68k/Kconfig.machine b/arch/m68k/Kconfig.machine index 4a1697fa9a37..1054c5400671 100644 --- a/arch/m68k/Kconfig.machine +++ b/arch/m68k/Kconfig.machine @@ -309,6 +309,7 @@ comment "Machine Options" config UBOOT bool "Support for U-Boot command line parameters" + depends on COLDFIRE help If you say Y here kernel will try to collect command line parameters from the initial u-boot stack. -- 2.35.1