Skip to content
Snippets Groups Projects
Commit 92862381 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "lrdp_V2: Fix for broken pagetracking.py"

parents fab16413 ba942916
No related branches found
No related tags found
No related merge requests found
......@@ -111,7 +111,12 @@ class PageTracking(RamParser):
phys = pfn << 12
if phys is None or phys is 0:
continue
offset = phys >> 30
if self.ramdump.is_config_defined('CONFIG_MEMORY_HOTPLUG'):
section_size_bits = int(self.ramdump.get_config_val(
'CONFIG_HOTPLUG_SIZE_BITS'))
offset = phys >> section_size_bits
else:
offset = phys >> 30
if self.ramdump.is_config_defined('CONFIG_SPARSEMEM'):
mem_section_0_offset = (
......
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