aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gdb/linux/modules.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/gdb/linux/modules.py')
-rw-r--r--scripts/gdb/linux/modules.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/gdb/linux/modules.py b/scripts/gdb/linux/modules.py
index 6d497229d026..a1504c4f1900 100644
--- a/scripts/gdb/linux/modules.py
+++ b/scripts/gdb/linux/modules.py
@@ -75,7 +75,7 @@ class LxLsmod(gdb.Command):
75 for module in module_list(): 75 for module in module_list():
76 ref = 0 76 ref = 0
77 module_refptr = module['refptr'] 77 module_refptr = module['refptr']
78 for cpu in cpus.CpuList("cpu_possible_mask"): 78 for cpu in cpus.cpu_list("cpu_possible_mask"):
79 refptr = cpus.per_cpu(module_refptr, cpu) 79 refptr = cpus.per_cpu(module_refptr, cpu)
80 ref += refptr['incs'] 80 ref += refptr['incs']
81 ref -= refptr['decs'] 81 ref -= refptr['decs']