Skip to content
Snippets Groups Projects
Commit d2183b5d authored by Laura Abbott's avatar Laura Abbott
Browse files

linux-ramdump-parser-v2: Use int for reading number of interrupts

The number of interrupts is an int which is different from the word
size. Switch to it.

Change-Id: I06b5186ac0121854870606c78488c26f22d79f2c
parent 2e8bd2ad
No related branches found
No related tags found
No related merge requests found
......@@ -149,7 +149,7 @@ class IrqParse(RamParser):
break
for j in ram_dump.iter_cpus():
irq_statsn = ram_dump.read_word(kstat_irqs_addr, cpu=j)
irq_statsn = ram_dump.read_int(kstat_irqs_addr, cpu=j)
irq_stats_str = irq_stats_str + \
'{0:10} '.format('{0}'.format(irq_statsn))
......
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