diff options
| author | Cédric Le Goater <[email protected]> | 2021-08-23 11:00:38 +0200 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2021-08-23 19:28:21 +1000 |
| commit | 3accc0faef081b6813967b34f7d05a3edb855cbd (patch) | |
| tree | 66929c2a93b243dea7167d94bb6dec265fdb0478 /tools/perf/scripts/python/syscall-counts.py | |
| parent | a00ea5b6f2bbef8b004b0b7228c61680a50c7c3f (diff) | |
powerpc/prom: Fix unused variable ‘reserve_map’ when CONFIG_PPC32 is not set
This fixes a compile error with W=1.
arch/powerpc/kernel/prom.c: In function ‘early_reserve_mem’:
arch/powerpc/kernel/prom.c:625:10: error: variable ‘reserve_map’ set but not used [-Werror=unused-but-set-variable]
__be64 *reserve_map;
^~~~~~~~~~~
cc1: all warnings being treated as errors
Signed-off-by: Cédric Le Goater <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions