-
- Downloads
lib: Add a generic version of devmem_is_allowed()
As part of adding support for STRICT_DEVMEM to the RISC-V port, Zong provided a devmem_is_allowed() implementation that's exactly the same as all the others I checked. Instead I'm adding a generic version, which will soon be used. Reviewed-by:Luis Chamberlain <mcgrof@kernel.org> Signed-off-by:
Palmer Dabbelt <palmerdabbelt@google.com>
Showing
- include/asm-generic/io.h 4 additions, 0 deletionsinclude/asm-generic/io.h
- lib/Kconfig 3 additions, 0 deletionslib/Kconfig
- lib/Kconfig.debug 1 addition, 1 deletionlib/Kconfig.debug
- lib/Makefile 2 additions, 0 deletionslib/Makefile
- lib/devmem_is_allowed.c 27 additions, 0 deletionslib/devmem_is_allowed.c
lib/devmem_is_allowed.c
0 → 100644
Please register or sign in to comment