Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mm/process_vm_access: Add missing #include <linux/compat.h>
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 <linux/compat.h>. Reported-by: [email protected] Reported-by: damian <[email protected]> Reported-by: Naresh Kamboju <[email protected]> Fixes: 38dc507 ("Fix compat regression in process_vm_rw()") Signed-off-by: Geert Uytterhoeven <[email protected]> Acked-by: Jens Axboe <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
- Loading branch information