linux-sg2042/arch/riscv
Dominik Brodowski a90f590a1b mm: add ksys_mmap_pgoff() helper; remove in-kernel calls to sys_mmap_pgoff()
Using this helper allows us to avoid the in-kernel calls to the
sys_mmap_pgoff() syscall. The ksys_ prefix denotes that this function is
meant as a drop-in replacement for the syscall. In particular, it uses the
same calling convention as sys_mmap_pgoff().

This patch is part of a series which removes in-kernel calls to syscalls.
On this basis, the syscall entry path can be streamlined. For details, see
http://lkml.kernel.org/r/20180325162527.GA17492@light.dominikbrodowski.net

Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: linux-mm@kvack.org
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
2018-04-02 20:16:11 +02:00
..
configs RISC-V: Add a basic defconfig 2018-01-07 15:14:36 -08:00
include riscv/barrier: Define __smp_{mb,rmb,wmb} 2018-02-26 08:44:50 -08:00
kernel mm: add ksys_mmap_pgoff() helper; remove in-kernel calls to sys_mmap_pgoff() 2018-04-02 20:16:11 +02:00
lib RISC-V: Export some expected symbols for modules 2017-11-30 10:01:10 -08:00
mm RISC-V changes for 4.16 2018-02-07 11:33:08 -08:00
Kconfig riscv: Remove ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE select 2018-02-20 10:51:07 -08:00
Makefile