Skip to content
Commit f78f63da authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Linus Torvalds
Browse files

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: default avatar <noreply@ellerman.id.au>
Reported-by: default avatardamian <damian.tometzki@familie-tometzki.de>
Reported-by: default avatarNaresh Kamboju <naresh.kamboju@linaro.org>
Fixes: 38dc5079 ("Fix compat regression in process_vm_rw()")
Signed-off-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Acked-by: default avatarJens Axboe <axboe@kernel.dk>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 4d09c1d9
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment