arm64: use SYSCALL_DEFINE6() for mmap
authorMark Rutland <mark.rutland@arm.com>
Wed, 11 Jul 2018 13:56:54 +0000 (14:56 +0100)
committerWill Deacon <will.deacon@arm.com>
Thu, 12 Jul 2018 13:49:48 +0000 (14:49 +0100)
commitd3516c9073b4b81410195489dc169891cd64e4cd
treee28c52c0fa4480c8a896537919ce98e7330a99b8
parentbf4ce5cc23c9f8357bfd9c0328bf59685664cbc7
arm64: use SYSCALL_DEFINE6() for mmap

We don't currently annotate our mmap implementation as a syscall, as we
need to do to use pt_regs syscall wrappers.

Let's mark it as a real syscall.

There should be no functional change as a result of this patch.

Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Reviewed-by: Dominik Brodowski <linux@dominikbrodowski.net>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/kernel/sys.c