aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-script.c
diff options
context:
space:
mode:
authorNathan Chancellor <[email protected]>2019-10-16 14:47:14 +0000
committerCatalin Marinas <[email protected]>2019-10-16 15:06:27 +0000
commit4399d430700d3974ed6c5a1b1380bc6527f17e99 (patch)
tree8aecd6124857b3cb091eb9e10fd5aace6dc6122c /tools/perf/builtin-script.c
parentmm: refresh ZONE_DMA and ZONE_DMA32 comments in 'enum zone_type' (diff)
downloadkernel-4399d430700d3974ed6c5a1b1380bc6527f17e99.tar.gz
kernel-4399d430700d3974ed6c5a1b1380bc6527f17e99.zip
arm64: mm: Fix unused variable warning in zone_sizes_init
When building arm64 allnoconfig, CONFIG_ZONE_DMA and CONFIG_ZONE_DMA32 get disabled so there is a warning about max_dma being unused. ../arch/arm64/mm/init.c:215:16: warning: unused variable 'max_dma' [-Wunused-variable] unsigned long max_dma = min; ^ 1 warning generated. Add __maybe_unused to make this clear to the compiler. Fixes: 1a8e1cef7603 ("arm64: use both ZONE_DMA and ZONE_DMA32") Reviewed-by: Nicolas Saenz Julienne <[email protected]> Signed-off-by: Nathan Chancellor <[email protected]> Signed-off-by: Catalin Marinas <[email protected]>
Diffstat (limited to 'tools/perf/builtin-script.c')
0 files changed, 0 insertions, 0 deletions