]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: Add CONFIG_DEBUG_SET_MODULE_RONX support
authorLaura Abbott <lauraa@codeaurora.org>
Tue, 19 Aug 2014 19:41:43 +0000 (20:41 +0100)
committerWill Deacon <will.deacon@arm.com>
Mon, 8 Sep 2014 13:39:18 +0000 (14:39 +0100)
commit38a5b6e6d200071f252dce7dbd5838163355b321
treedb7874516b61d7df4d85e4529b9ea6e1033624e6
parent405fdb405cac347c413672ee9defc9921a4cd6e1
arm64: Add CONFIG_DEBUG_SET_MODULE_RONX support

In a similar fashion to other architecture, add the infrastructure
and Kconfig to enable DEBUG_SET_MODULE_RONX support. When
enabled, module ranges will be marked read-only/no-execute as
appropriate.

Signed-off-by: Laura Abbott <lauraa@codeaurora.org>
[will: fixed off-by-one in module end check]
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/Kconfig.debug
arch/arm64/include/asm/cacheflush.h
arch/arm64/mm/Makefile
arch/arm64/mm/pageattr.c [new file with mode: 0644]