mm/process_vm_access.c: include compat.h
authorAndrew Morton <akpm@linux-foundation.org>
Tue, 12 Jan 2021 23:49:33 +0000 (15:49 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 13 Jan 2021 02:12:54 +0000 (18:12 -0800)
commiteb351d75ce1e75b4f793d609efac08426ca50acd
tree459ce9eb95eb3ecdbf5ad354b2e1bfbb6b039260
parent6696d2a6f38c0beedf03c381edfc392ecf7631b4
mm/process_vm_access.c: include compat.h

Fix the build error:

  mm/process_vm_access.c:277:5: error: implicit declaration of function 'in_compat_syscall'; did you mean 'in_ia32_syscall'? [-Werror=implicit-function-declaration]

Fixes: 38dc5079da7081e "Fix compat regression in process_vm_rw()"
Reported-by: syzbot+5b0d0de84d6c65b8dd2b@syzkaller.appspotmail.com
Cc: Kyle Huey <me@kylehuey.com>
Cc: Jens Axboe <axboe@kernel.dk>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: Christoph Hellwig <hch@lst.de>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/process_vm_access.c