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

2020-07-30 Thread Michael Ellerman
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.

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

2020-07-29 Thread Gustavo Romero
On 7/27/20 4:03 AM, 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. Fixes: ba608c4fa12c ("powerpc/fadump:

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

2020-07-27 Thread Michael Ellerman
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. Fixes: ba608c4fa12c ("powerpc/fadump: fix race between pstore write and fadump