Skip to content
Snippets Groups Projects
Commit 540345e9 authored by Mitchel Humpherys's avatar Mitchel Humpherys
Browse files

lrdp-v2: vmalloc: use new ListWalker constructor

ListWalker.__init__ was recently changed to remove some unneeded
arguments. The vmalloc parser was also updated at roughly the same time
with a new usage of the ListWalker class and was using the old
constructor. Update it.

Change-Id: Ia47c22511aab7207b65813d25c9f97d65c24e2db
parent e2f87e11
No related branches found
No related tags found
No related merge requests found
# Copyright (c) 2012-2013, The Linux Foundation. All rights reserved.
# Copyright (c) 2012-2014, The Linux Foundation. All rights reserved.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 and
......@@ -96,10 +96,7 @@ class Vmalloc(RamParser):
vmlist = self.ramdump.read_word('vmap_area_list')
orig_vmlist = vmlist
list_next_offset, list_prev_offset = llist.get_list_offsets(
self.ramdump)
list_walker = llist.ListWalker(self.ramdump, vmlist, next_offset, list_next_offset, list_prev_offset)
list_walker = llist.ListWalker(self.ramdump, vmlist, next_offset)
self.vmalloc_out = vmalloc_out
list_walker.walk(vmlist, self.list_func)
print_out_str('---wrote vmalloc to vmalloc.txt')
......
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