mirror of
https://github.com/team-infusion-developers/android_kernel_samsung_msm8976.git
synced 2024-11-07 04:09:21 +00:00
Kconfig: arm: Update dependancy for CONFIG_FREE_PAGES_RDONLY
The kernel_map_pages function is compiled only when CONFIG_PAGE_POISONING is enabled, however the stub fuction is added when CONFIG_DEBUG_PAGEALLOC=n, which causes a compilation error when CONFIG_DEBUG_PAGEALLOC is disabled and CONFIG_FREE_PAGES_RDONLY is enabled. Enable CONFIG_DEBUG_PAGEALLOC when CONFIG_FREE_PAGES_RDONLY is enabled. Change-Id: I89f3dc73d4031b560e0595529498d71e77e83720 Signed-off-by: Neeti Desai <neetid@codeaurora.org>
This commit is contained in:
parent
286b0d283d
commit
055865db1c
1 changed files with 1 additions and 1 deletions
|
@ -88,7 +88,7 @@ config FORCE_PAGES
|
|||
config FREE_PAGES_RDONLY
|
||||
bool "Set pages as read only while on the buddy list"
|
||||
select FORCE_PAGES
|
||||
select PAGE_POISONING
|
||||
select DEBUG_PAGEALLOC
|
||||
help
|
||||
Pages are always mapped in the kernel. This means that anyone
|
||||
can write to the page if they have the address. Enable this option
|
||||
|
|
Loading…
Reference in a new issue