Skip to content
Snippets Groups Projects
Commit ac6d0745 authored by qctecmdr Service's avatar qctecmdr Service Committed by Gerrit - the friendly Code Review server
Browse files

Merge "lrdp: Check for CONFIG_PAGE_OWNER_ENABLE_DEFAULT"

parents 04117f03 795198f7
No related branches found
No related tags found
No related merge requests found
...@@ -199,6 +199,11 @@ class PageTracking(RamParser): ...@@ -199,6 +199,11 @@ class PageTracking(RamParser):
print_out_str('CONFIG_PAGE_OWNER not defined') print_out_str('CONFIG_PAGE_OWNER not defined')
return return
if self.ramdump.kernel_version >= (4, 4):
if not self.ramdump.is_config_defined('CONFIG_PAGE_OWNER_ENABLE_DEFAULT'):
print_out_str('CONFIG_PAGE_OWNER_ENABLE_DEFAULT not defined')
return
if (self.ramdump.kernel_version >= (3, 19, 0)): if (self.ramdump.kernel_version >= (3, 19, 0)):
if self.ramdump.is_config_defined('CONFIG_SPARSEMEM'): if self.ramdump.is_config_defined('CONFIG_SPARSEMEM'):
mem_section = self.ramdump.read_word('mem_section') mem_section = self.ramdump.read_word('mem_section')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment