diff options
author | Arnd Bergmann <[email protected]> | 2019-04-18 17:50:48 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2019-04-19 09:46:05 -0700 |
commit | dce5b0bdeec61bdbee56121ceb1d014151d5cab1 (patch) | |
tree | 0b4553ed521557bf5332b8cfa82fdceb3b78806a /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 6041186a32585fc7a1d0f6cfe2f138b05fdc3c82 (diff) |
mm/kmemleak.c: fix unused-function warning
The only references outside of the #ifdef have been removed, so now we
get a warning in non-SMP configurations:
mm/kmemleak.c:1404:13: error: unused function 'scan_large_block' [-Werror,-Wunused-function]
Add a new #ifdef around it.
Link: http://lkml.kernel.org/r/[email protected]
Fixes: 298a32b13208 ("kmemleak: powerpc: skip scanning holes in the .bss section")
Signed-off-by: Arnd Bergmann <[email protected]>
Acked-by: Catalin Marinas <[email protected]>
Cc: Vincent Whitchurch <[email protected]>
Cc: Michael Ellerman <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions