summaryrefslogtreecommitdiffstats
path: root/fs/userfaultfd.c
diff options
context:
space:
mode:
authorArnd Bergmann2019-04-19 02:50:48 +0200
committerLinus Torvalds2019-04-19 18:46:05 +0200
commitdce5b0bdeec61bdbee56121ceb1d014151d5cab1 (patch)
tree0b4553ed521557bf5332b8cfa82fdceb3b78806a /fs/userfaultfd.c
parentinit: initialize jump labels before command line option parsing (diff)
downloadkernel-qcow2-linux-dce5b0bdeec61bdbee56121ceb1d014151d5cab1.tar.gz
kernel-qcow2-linux-dce5b0bdeec61bdbee56121ceb1d014151d5cab1.tar.xz
kernel-qcow2-linux-dce5b0bdeec61bdbee56121ceb1d014151d5cab1.zip
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@arndb.de> Acked-by: Catalin Marinas <catalin.marinas@arm.com> Cc: Vincent Whitchurch <vincent.whitchurch@axis.com> Cc: Michael Ellerman <mpe@ellerman.id.au> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/userfaultfd.c')
0 files changed, 0 insertions, 0 deletions