Skip to content
Snippets Groups Projects
Commit 12542feb authored by lnx build's avatar lnx build Committed by Gerrit - the friendly Code Review server
Browse files

Merge "lrdp-v2: Fix kernel version usage" into opensource-tools.lnx.1.0

parents f6f2a026 3e46a959
No related branches found
No related tags found
No related merge requests found
......@@ -22,7 +22,7 @@ def page_buddy(ramdump, page):
def page_count(ramdump, page):
"""Commit: 0139aa7b7fa12ceef095d99dc36606a5b10ab83a
mm: rename _count, field of the struct page, to _refcount"""
if (ramdump.version < (4, 6, 0)):
if (ramdump.kernel_version < (4, 6, 0)):
count = ramdump.read_structure_field(page, 'struct page',
'_count.counter')
else:
......
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