]> 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)
commite3f5484597b28abf76f77c1b8b9e26f0d5274c12
treedb7874516b61d7df4d85e4529b9ea6e1033624e6
parentd7377aedd6142be206eae85484e4cea0d48a27f0
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]