Linux/linux dce5b0bmm kmemleak.c

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/20190416123148.3502045-1-arnd@arndb.de
Fixes: 298a32b13208 ("kmemleak: powerpc: skip scanning holes in the .bss section")
Signed-off-by: Arnd Bergmann <arnd at arndb.de>
Acked-by: Catalin Marinas <catalin.marinas at arm.com>
Cc: Vincent Whitchurch <vincent.whitchurch at axis.com>
Cc: Michael Ellerman <mpe at ellerman.id.au>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds at linux-foundation.org>
DeltaFile
+2-0mm/kmemleak.c
+2-01 files

UnifiedSplitRaw