[PATCH] powerpc/fadump: Fix build error with CONFIG_PRESERVE_FA_DUMP=y

Michael Ellerman patch-notifications at ellerman.id.au
Thu Jul 30 22:51:50 AEST 2020


On Mon, 27 Jul 2020 17:03:41 +1000, Michael Ellerman wrote:
> skiroot_defconfig fails:
> 
> arch/powerpc/kernel/fadump.c:48:17: error: ‘cpus_in_fadump’ defined but not used
>    48 | static atomic_t cpus_in_fadump;
> 
> Fix it by moving the definition into the #ifdef where it's used.

Applied to powerpc/next.

[1/1] powerpc/fadump: Fix build error with CONFIG_PRESERVE_FA_DUMP=y
      https://git.kernel.org/powerpc/c/5f987caec521cbb00d4ba2dc641ac8074626b762

cheers


More information about the Linuxppc-dev mailing list