Skip to content
Snippets Groups Projects
Commit fc7ce4b2 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: Check if tvec_base_deferrable exisits"

parents 0356fe6e b8025995
Branches
No related tags found
No related merge requests found
# Copyright (c) 2015-2016, The Linux Foundation. All rights reserved. # Copyright (c) 2015-2017, The Linux Foundation. All rights reserved.
# #
# This program is free software; you can redistribute it and/or modify # 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 # it under the terms of the GNU General Public License version 2 and
...@@ -100,6 +100,7 @@ class TimerList(RamParser) : ...@@ -100,6 +100,7 @@ class TimerList(RamParser) :
self.output_file.write("Timer List Dump\n\n") self.output_file.write("Timer List Dump\n\n")
tvec_base_deferral_addr = self.ramdump.address_of('tvec_base_deferrable') tvec_base_deferral_addr = self.ramdump.address_of('tvec_base_deferrable')
if tvec_base_deferral_addr:
timer_jiffies_addr = tvec_base_deferral_addr + self.ramdump.field_offset('struct tvec_base', 'timer_jiffies') timer_jiffies_addr = tvec_base_deferral_addr + self.ramdump.field_offset('struct tvec_base', 'timer_jiffies')
next_timer_addr = tvec_base_deferral_addr + self.ramdump.field_offset('struct tvec_base', 'next_timer') next_timer_addr = tvec_base_deferral_addr + self.ramdump.field_offset('struct tvec_base', 'next_timer')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment