diff options
| author | Michael Ellerman <mpe@ellerman.id.au> | 2020-07-27 06:44:36 +0300 |
|---|---|---|
| committer | Michael Ellerman <mpe@ellerman.id.au> | 2020-07-27 10:04:54 +0300 |
| commit | 5f987caec521cbb00d4ba2dc641ac8074626b762 (patch) | |
| tree | b485583f73f85eab730109534ecab7f1a41af3ac /tools/perf/scripts/python/flamegraph.py | |
| parent | 86052e407e8e1964c81965de25832258875a0e6d (diff) | |
| download | linux-5f987caec521cbb00d4ba2dc641ac8074626b762.tar.xz | |
powerpc/fadump: Fix build error with CONFIG_PRESERVE_FA_DUMP=y
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 crash trigger")
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200727070341.595634-1-mpe@ellerman.id.au
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions
