From: Geert Uytterhoeven Date: Tue, 27 Oct 2020 18:22:46 +0000 (+0100) Subject: mm/process_vm_access: Add missing #include X-Git-Tag: microblaze-v5.12~490 X-Git-Url: http://git.monstr.eu/?a=commitdiff_plain;h=f78f63da916e04e0b12a96010e2dd551954b1db4;p=linux-2.6-microblaze.git mm/process_vm_access: Add missing #include With e.g. m68k/defconfig: mm/process_vm_access.c: In function ‘process_vm_rw’: mm/process_vm_access.c:277:5: error: implicit declaration of function ‘in_compat_syscall’ [-Werror=implicit-function-declaration] 277 | in_compat_syscall()); | ^~~~~~~~~~~~~~~~~ Fix this by adding #include . Reported-by: noreply@ellerman.id.au Reported-by: damian Reported-by: Naresh Kamboju Fixes: 38dc5079da7081e8 ("Fix compat regression in process_vm_rw()") Signed-off-by: Geert Uytterhoeven Acked-by: Jens Axboe Signed-off-by: Linus Torvalds --- diff --git a/mm/process_vm_access.c b/mm/process_vm_access.c index 05676722d9cd..702250f148e7 100644 --- a/mm/process_vm_access.c +++ b/mm/process_vm_access.c @@ -5,6 +5,7 @@ * Copyright (C) 2010-2011 Christopher Yeoh , IBM Corp. */ +#include #include #include #include