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

Merge "lrdp_v2: Fix lpm cpu_possible_bits for kernel 4.9" into opensource-tools.lnx.1.0

parents 716a2871 24c46ed6
No related branches found
No related tags found
No related merge requests found
......@@ -27,6 +27,8 @@ class lpm(RamParser):
def get_bits(self):
bits_addr = self.ramdump.address_of('cpu_possible_bits')
if bits_addr is None:
bits_addr = self.ramdump.address_of('__cpu_possible_mask')
if bits_addr is None:
self.output.append("NOTE: 'cpu_possible_bits' not found")
return
......@@ -39,6 +41,8 @@ class lpm(RamParser):
bits_addr = self.ramdump.address_of('cpu_online_bits')
if bits_addr is None:
bits_addr = self.ramdump.address_of('__cpu_online_mask')
if bits_addr is None:
self.output.append("NOTE: 'cpu_online_bits' not found")
return
......
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