Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp805740pxb; Tue, 3 Nov 2020 13:03:15 -0800 (PST) X-Google-Smtp-Source: ABdhPJxARsXBZ6K1UL/7OF8HgUHQtobTU1Y4qmzi6K4S8SDd4JxHqdgLHQbjES02io0sQgNGvlov X-Received: by 2002:aa7:d858:: with SMTP id f24mr22586397eds.12.1604437395619; Tue, 03 Nov 2020 13:03:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604437395; cv=none; d=google.com; s=arc-20160816; b=HNPZupqMX65qY6l0NXHNUMihNjlhOpFdFcGxvs+XQssqupujTz2BEVBglCGDZjIG2A rf8zaHnQaYaSmD9DWvK4Zv4oYraRNNrUmkl0GDgdn/mkhLM0qrOz1qHYuBeY+Ehc2C5d ORepkBowK33BIETdhk8Gr5pdb9p7luL9dwsLX1D770LtMpWVhDkEhoXhSmRaXCI/qCIW e6rv0zgZ4zdxmeSer2qDRsl9vYfSRotBT5di/fPsS9/t/dGwsi0rKR8yJTY8a5ZhekV5 lxh4OAVKHkWNTAxnVJRjjfhlfa01XGj9KYW+lDh+6RXFzGcs2UVAgn76GNWDRzO7Sd0T ooqA== 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=rTrKeNvC3Cd0PiTM4H+OkpTHauskSwVGZPfHKBkizK8=; b=MQ4My+grZKM3wv0taS31zsCX6dky4kjFcGSXyZV1T9o2X2yyx82wJmdX4nRtzKQRyv SwzHeIUGM5TvT3Dg6dYG6+gciRBW0z+71ONrVmBK6xfc1XX12bSVRp8oA1lK1ZGN4aT1 XA8w6FLAue181H+3s/5bQHotRr6rSg+s94ix+NUrbqkNBrFg4W0HnmmQ0NJBZrEiv0HZ VscBsj5JeJWwYwhH9vZnuBsAxorO0SV0ch+n2zG3EUVAbO9lcbs8YKPDYwSRsBOcWEVW 7WTah3zkAPXKKhWKfofS112kt6jMBm7yTXW1T2gh7AO/v8hjNzfDOI7JlN+g17Wo4Z7r tVMg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=UWCKR4on; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g22si6087735edr.89.2020.11.03.13.02.51; Tue, 03 Nov 2020 13:03:15 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=UWCKR4on; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1733125AbgKCU7d (ORCPT + 99 others); Tue, 3 Nov 2020 15:59:33 -0500 Received: from mail.kernel.org ([198.145.29.99]:34700 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1733113AbgKCU7a (ORCPT ); Tue, 3 Nov 2020 15:59:30 -0500 Received: from localhost (83-86-74-64.cable.dynamic.v4.ziggo.nl [83.86.74.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 9485D223BF; Tue, 3 Nov 2020 20:59:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604437170; bh=ebhFxyfQPpIfUkMOndtreeKy5cOZRimmFH/uWLJz1V8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=UWCKR4onBwOhi/1H1Napy2IPSCFT7w7fJDtTUXMG6ZMvWkvjGv4hgEor/0N/wgDPc vxFU3ewaFk5xvyUAhAGZfO3U5GwEFNERutz6fsifVGJuQOjVEXhxqanUoktcuZ4JHn dWVu428L44fqLjRBQ60xJCRHuRq49PMCfJKBCrSM= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, kernel test robot , Krzysztof Kozlowski , Andrew Morton , Tony Luck , Fenghua Yu , Linus Torvalds Subject: [PATCH 5.4 176/214] ia64: fix build error with !COREDUMP Date: Tue, 3 Nov 2020 21:37:04 +0100 Message-Id: <20201103203307.223513174@linuxfoundation.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201103203249.448706377@linuxfoundation.org> References: <20201103203249.448706377@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Krzysztof Kozlowski commit 7404840d87557c4092bf0272bce5e0354c774bf9 upstream. Fix linkage error when CONFIG_BINFMT_ELF is selected but CONFIG_COREDUMP is not: ia64-linux-ld: arch/ia64/kernel/elfcore.o: in function `elf_core_write_extra_phdrs': elfcore.c:(.text+0x172): undefined reference to `dump_emit' ia64-linux-ld: arch/ia64/kernel/elfcore.o: in function `elf_core_write_extra_data': elfcore.c:(.text+0x2b2): undefined reference to `dump_emit' Fixes: 1fcccbac89f5 ("elf coredump: replace ELF_CORE_EXTRA_* macros by functions") Reported-by: kernel test robot Signed-off-by: Krzysztof Kozlowski Signed-off-by: Andrew Morton Cc: Tony Luck Cc: Fenghua Yu Cc: Link: https://lkml.kernel.org/r/20200819064146.12529-1-krzk@kernel.org Signed-off-by: Linus Torvalds Signed-off-by: Greg Kroah-Hartman --- arch/ia64/kernel/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/arch/ia64/kernel/Makefile +++ b/arch/ia64/kernel/Makefile @@ -41,7 +41,7 @@ obj-y += esi_stub.o # must be in kern endif obj-$(CONFIG_INTEL_IOMMU) += pci-dma.o -obj-$(CONFIG_BINFMT_ELF) += elfcore.o +obj-$(CONFIG_ELF_CORE) += elfcore.o # fp_emulate() expects f2-f5,f16-f31 to contain the user-level state. CFLAGS_traps.o += -mfixed-range=f2-f5,f16-f31