Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp442171iog; Mon, 13 Jun 2022 06:05:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyjCXLKa15urfnmuitVAmNqD8fYzl7F6De2CcV8SKuMUK2Ex5f5IdSS8bQ0Dvcrqfjy86bb X-Received: by 2002:a17:906:a202:b0:711:29a:c96c with SMTP id r2-20020a170906a20200b00711029ac96cmr42320429ejy.407.1655125444241; Mon, 13 Jun 2022 06:04:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655125444; cv=none; d=google.com; s=arc-20160816; b=LySkvcfjAHtCnWhp3DBOL4tBaIk0QgwuK/F+OTQyGESIikTUBuP7uVzQE9sbgVyonF x06Fzadl/X5EsOzoO8tGmtbB7+BFOCNH4C9YFO7lA6bBQOwMPNnfrBeeIfPQ3n1V32U3 KXaAhCTmwt2QNKyMdk6/Pg3mLXC+wC7yoNiyS79pLmEEml/01s1zVfQmQMU7uv8loiCZ ld0vY1hETJd3k/b6uDLBq8r+5k9xtcJ7VYjdsw53DyfjcKSLryl0WkiA+mAq0rPl3hI5 1u40bAGEz0ycp4ZzF/Um7/v+WuTZORL4F3CR6MCijoOGm+TDVu04/3nIM0ga7NQOGsEC 9TZw== 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=xD+jjoftkkKiatE59EW7xWsZRnNw7u+jhFN6lvT3/2I=; b=fqMiTqwNV8JFmkHftU6T/ybCEp139JuzkGRxElaaTtHJuhzOK3VChtX+b5ZfhdtuRo ftXFZfWEt5fs/kiGnpmGZetjF3d6s/ZekeMuAKbdiEPUcs3d4c9ZCrsJUzD0MI3n92dp U06+t+M/B8ehMPhEGPvJGC8y7YRtLxb8DTra+BXvA0D8Qb+ghxMpoVMv0zm+AvtjCVX2 aD3IuocUhElDtqosXksy3B2Gb85mbQY5NZVzZzfhDmPi42AjT4/n90SIMOQ6bL3wBgps HwlJI4u/leI4VKRIQCDeCcKxsr0VftBrc1EVsmyjsol0TRDt4KRiEJq9jQkIFZH6et2E wLeQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=XGyiVnJR; 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 i26-20020a1709067a5a00b006e07d5f6986si7151404ejo.933.2022.06.13.06.03.37; Mon, 13 Jun 2022 06:04: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=XGyiVnJR; 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 S245527AbiFMK2B (ORCPT + 99 others); Mon, 13 Jun 2022 06:28:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58922 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236753AbiFMK1e (ORCPT ); Mon, 13 Jun 2022 06:27:34 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 88F6A248F7; Mon, 13 Jun 2022 03:19:55 -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 F121260AE6; Mon, 13 Jun 2022 10:19:54 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 00BAAC34114; Mon, 13 Jun 2022 10:19:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1655115594; bh=3Gqq0IHeoCCTwiXZU/qrGZQ0JxgYAq2T0t46vBklZ4I=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=XGyiVnJR3yRFYCMbra/aVbaRsYmr+B2XkGyI7Jwn+veEPpmlm9ZEdXY8pLmyt0uXd aYX9/cSVNLcRbg6oniEVD55llMb4UMeKR+RAOKro4McycfRr0EJzL1BiCs9fvQGfhF Rha1vOLNuE2sOVObp/X/I6iLuLtl/A4tyVujMMOc= 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.9 130/167] m68knommu: fix undefined reference to `_init_sp Date: Mon, 13 Jun 2022 12:10:04 +0200 Message-Id: <20220613094911.393517691@linuxfoundation.org> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220613094840.720778945@linuxfoundation.org> References: <20220613094840.720778945@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 f622c3ccafc3..9f2896493ca0 100644 --- a/arch/m68k/Kconfig.machine +++ b/arch/m68k/Kconfig.machine @@ -302,6 +302,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