Received: by 2002:a05:6622:f08:0:0:0:0 with SMTP id l8csp4489488ivc; Tue, 3 Nov 2020 13:24:12 -0800 (PST) X-Google-Smtp-Source: ABdhPJy//WHvd2p1vHk/G4t/SERpq5G95vyUiSnf7gCuDwYA4txwzNaY77GhTIxbqZVWD1ymuWYs X-Received: by 2002:aa7:db48:: with SMTP id n8mr15884402edt.123.1604438652414; Tue, 03 Nov 2020 13:24:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604438652; cv=none; d=google.com; s=arc-20160816; b=zLh44G3ryGwEBG+p8sjXc+xyuovbrdpfAA2f4X8Ox/Pyhm2n32P7cZJaEUbJCxTD0R xvv+51CBhktR4EAhLwgUUfg7RZKDjDDQdlqGdm70DRUz8/XQ72DaduRNQsLDNmxHEt1v a1PIbG0smplpF1hpoO3xpSF8hysiw0v/9EsiZkBYn3kEdHXVu/A8FwsaqhJvri7eNbHf vnXsH9fASsokZ2BQ3xtinmAEIK1mQUFgaSNgnTxzAHBP2sGhIG95kWAhGIV0IawUVLCt jD4brpNRG2m350b6xhIqCTXfSq6iCxJmehhcHyWNgx9RBSKxSDzFcieqm/wdHc/8A6Hm Omqg== 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=mzh65AZwv/iAliUdpmN+WJj0kl56eqPb/s/zgGnvJSc=; b=J8hXURuMDx6s7lDiFwvFtmKtoUQxZaAPLTnda6xC64kJY7QmfvjbfIIaLIpSvkrFMG LNZDtabhavmG1tP7ERm0b/s5b2dnudRavbV99IF43OYOO2nCZT6ZnsPlFckzjGDt58DR X6SeUK0ix/bShORxxIonLCTqCQWoDHRIQ2YNcV7CoYlpjGbBFnEr/WUsrZJY6KJJGjoX X8FRv5c4jE4pgoqsxzaOyI2ewF7LHd3+3WdyBO3a3vMs6EjQpmFGbJ4eRvpa3QpoHQ2L vB1gZZ9nS9uRhTi/I5VeFSTOV+6FRnn8oOTgl6imOigkDvilSgWVJM4Xb4bcUcI3Cwur uhnQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=LLMY2pEC; 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 z10si14934615edp.346.2020.11.03.13.23.49; Tue, 03 Nov 2020 13:24:12 -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=LLMY2pEC; 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 S1731044AbgKCVUM (ORCPT + 99 others); Tue, 3 Nov 2020 16:20:12 -0500 Received: from mail.kernel.org ([198.145.29.99]:46660 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388296AbgKCVH0 (ORCPT ); Tue, 3 Nov 2020 16:07:26 -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 B755520757; Tue, 3 Nov 2020 21:07:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604437646; bh=NoGtMaHnR9FkDWaV+SZM1BLroYTpcp31zfdS0D9NquE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=LLMY2pECaKrgxtlcvjpoU52xhbpMApSo8obK7vuY0SGtPVPe5lTFqyWZQ94cxQ/9E g6LU8YEufo8/mkQ042IIwezmxnB5MKvqIBHhlgezzoSbESXRrwlOc5owwmOPfNMOoB 7aE1tR1LaENgvubn+ohJP/c8V4tTdJkkuzRdB/78= 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 4.19 164/191] ia64: fix build error with !COREDUMP Date: Tue, 3 Nov 2020 21:37:36 +0100 Message-Id: <20201103203247.780269171@linuxfoundation.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201103203232.656475008@linuxfoundation.org> References: <20201103203232.656475008@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 @@ -42,7 +42,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