Return-Path: Received: from ozlabs.org (ozlabs.org [IPv6:2401:3900:2:1::2]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3sVFrC4cN0zDsTX for ; Thu, 8 Sep 2016 19:47:55 +1000 (AEST) In-Reply-To: <1471993059-19239-1-git-send-email-bauerman@linux.vnet.ibm.com> To: Thiago Jung Bauermann , linuxppc-dev@lists.ozlabs.org From: Michael Ellerman Cc: Thiago Jung Bauermann Subject: Re: powerpc: Fix build of 64 bit little endian with CONFIG_KEXEC=n Message-Id: <3sVFrC3mwzz9s9N@ozlabs.org> Date: Thu, 8 Sep 2016 19:47:55 +1000 (AEST) List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Tue, 2016-23-08 at 22:57:39 UTC, Thiago Jung Bauermann wrote: > On ppc64le, builds with CONFIG_KEXEC=n fail with: > > arch/powerpc/platforms/pseries/setup.c: In function ‘pseries_big_endian_exceptions’: > arch/powerpc/platforms/pseries/setup.c:403:13: error: implicit > declaration of function ‘kdump_in_progress’ [-Werror=implicit-function-declaration] > if (rc && !kdump_in_progress()) > > This is because pseries/setup.c includes , but > kdump_in_progress is defined in . This is a problem because > the former only includes the latter if CONFIG_KEXEC_CORE=y. > > Fix by including directly, as is done in powernv/setup.c. > > Fixes: d3cbff1b5a90 ("powerpc: Put exception configuration in a common place") > Signed-off-by: Thiago Jung Bauermann Applied to powerpc fixes, thanks. https://git.kernel.org/powerpc/c/d81d8258218228d3137055afe8 cheers