Skip to content

Commit 84c3a07

Browse files
tanzirh@google.compalmer-dabbelt
authored andcommitted
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: Tanzir Hasan <[email protected]> Fixes: 9e2e604 ("riscv: Allow PROT_WRITE-only mmap()") Reviewed-by: Nick Desaulniers <[email protected]> Tested-by: Nick Desaulniers <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Palmer Dabbelt <[email protected]>
1 parent 36d37f1 commit 84c3a07

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

arch/riscv/kernel/sys_riscv.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77

88
#include <linux/syscalls.h>
99
#include <asm/cacheflush.h>
10-
#include <asm-generic/mman-common.h>
1110

1211
static long riscv_sys_mmap(unsigned long addr, unsigned long len,
1312
unsigned long prot, unsigned long flags,

0 commit comments

Comments
 (0)