scripts/gdb: Adjust module reference counter reported by lx-lsmod
authorJan Kiszka <jan.kiszka@siemens.com>
Mon, 23 May 2016 23:24:37 +0000 (16:24 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 24 May 2016 00:04:14 +0000 (17:04 -0700)
commit0c22fde8b0e674a201f277688f1b3a38f6e09ada
tree9cb6f5f90e5e3c3e855c97c4f5ae2a32e2658437
parent7efb2a7b85f2d2a53ae50e35cf5df260dd5278b7
scripts/gdb: Adjust module reference counter reported by lx-lsmod

This takes the MODULE_REF_BASE into account.

Link: http://lkml.kernel.org/r/d926d2d54caa034adb964b52215090cbdb875249.1462865983.git.jan.kiszka@siemens.com
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/gdb/linux/modules.py