arm64: mm: Do not perform address checks if FORCE_PAGES is enabled
CONFIG_FORCE_PAGES allows changing the page attributes for kernel text
segment via the change_memory_common function.
Skip performing the sanitary checks if CONFIG_FORCE_PAGES is enabled
to allow changing the permission attributes.
Change-Id: I19aae77b662f293e9a82071c4f8cebd3d7561bff
Signed-off-by:
Rohit Vaswani <rvaswani@codeaurora.org>
Loading
Please register or sign in to comment