Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp3210608pxb; Mon, 9 Nov 2020 05:41:19 -0800 (PST) X-Google-Smtp-Source: ABdhPJyKxqg4HJTkhqgfzG4DLNFby2wbk6GKmES2zuB5rDDZUurFoZHY0TJzHvmVYERKORJVRnNs X-Received: by 2002:aa7:d3c3:: with SMTP id o3mr16028598edr.319.1604929279312; Mon, 09 Nov 2020 05:41:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604929279; cv=none; d=google.com; s=arc-20160816; b=MYbd/8BTPCW5pMUV3D8+7QMEemofJFvn3AmFM6Tv7HQuKMbWTaNNI//j3PKBH/OzS4 rFDtc4RRXIGaFS6nynlTcOHrpqAPYjs6gK7fc3dj8zHm3I6/h2FzVINoP+qBHvTAmn3q FoJBilg/esxe24eW3cgbtxzO1t6OCctZvXarJsiGyvu/srvstCXKIBt7wdvS8Cl2hO75 puR9SIs7MZIR9KUOJ98cWFsIgR7XxHCMYmOeQk5UyX3UoAwFTLoGIlbWJ4bWSAq1Vgr6 3IKKp1HEQzxaMSO8d6IfUGCfw7OyhZZ4rrn6deDDMJHyMyWbhON1aixcPhW4HvcLjuio OPjA== 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=giu639VYMD5FYYrSeqX9Zkhy3oEd/o7Ciwf0L41UEUw=; b=E35VPVSycmciHGgg4KB9+4jFYlIuq1qJGOSX6fIj6ZNsrvllSQm5lilhWhOTl48dft KXnzaR6cox3SKvqSSuTrQfdV6jXxLWnaeQhr1lx4FACWvWMW2c5wGjuUc8zgTR5H1xsE RlI0ZuWQ1BbPsqcXFZTIwp/7ODwjmaTbwc7b0ItuWjK+U+iehVdLPNlDDLVJvDq7mdmf 4IczADC9BGZEtRhyZ30dht4u/iU5OMVWnt+E3gCRD2Rvc9Na2iBPU1Jq/6ZZoNGYJACW LiWxS1V0GZB7HvYL1pEfegIEKqnpgSWol1ISbSawFrO74qbDYHyGIl7obPKKZNdSACZw qNDw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=d9CbeVyT; 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 z2si7408982ejc.253.2020.11.09.05.40.55; Mon, 09 Nov 2020 05:41:19 -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=d9CbeVyT; 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 S1731247AbgKINjk (ORCPT + 99 others); Mon, 9 Nov 2020 08:39:40 -0500 Received: from mail.kernel.org ([198.145.29.99]:56774 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730671AbgKINDl (ORCPT ); Mon, 9 Nov 2020 08:03:41 -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 0121022228; Mon, 9 Nov 2020 13:03:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604926991; bh=BYAd0+5dQ1U7j/KYmbHG8x8X326XH4AnHZB5ZtYoVtU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=d9CbeVyT8QKkq8iZHJgVC2K+NL8h+rnY0zGQ+TFNK0R0dW6oGTgrXC7Ndaoa9c5Dp LfCFlhdR886y3AbPiRPg2N39uyhwZiPbxpWdXOD2kUJpbMXjE0GKp1LglbPalbCrxc 2d7gtGdFS7Yu2CHklAFqrUTrx3HV/ZEiymyLOR6U= 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.9 073/117] ia64: fix build error with !COREDUMP Date: Mon, 9 Nov 2020 13:54:59 +0100 Message-Id: <20201109125029.143088317@linuxfoundation.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201109125025.630721781@linuxfoundation.org> References: <20201109125025.630721781@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 @@ endif obj-$(CONFIG_INTEL_IOMMU) += pci-dma.o obj-$(CONFIG_SWIOTLB) += pci-swiotlb.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