Commit 84c3a079 authored by tanzirh@google.com's avatar tanzirh@google.com Committed by Palmer Dabbelt

riscv: remove unused header

arch/riscv/kernel/sys_riscv.c builds without using anything
from asm-generic/mman-common.h. There seems to be no reason
to include this file.
Signed-off-by: default avatarTanzir Hasan <tanzirh@google.com>
Fixes: 9e2e6042 ("riscv: Allow PROT_WRITE-only mmap()")
Reviewed-by: default avatarNick Desaulniers <ndesaulniers@google.com>
Tested-by: default avatarNick Desaulniers <ndesaulniers@google.com>
Link: https://lore.kernel.org/r/20231212-removeasmgeneric-v2-1-a0e6d7df34a7@google.comSigned-off-by: default avatarPalmer Dabbelt <palmer@rivosinc.com>
parent 36d37f11
...@@ -7,7 +7,6 @@ ...@@ -7,7 +7,6 @@
#include <linux/syscalls.h> #include <linux/syscalls.h>
#include <asm/cacheflush.h> #include <asm/cacheflush.h>
#include <asm-generic/mman-common.h>
static long riscv_sys_mmap(unsigned long addr, unsigned long len, static long riscv_sys_mmap(unsigned long addr, unsigned long len,
unsigned long prot, unsigned long flags, unsigned long prot, unsigned long flags,
......
Markdown is supported
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