]> git.baikalelectronics.ru Git - kernel.git/commit
scripts/gdb: fix lx-lsmod refcnt
authorAdrien Schildknecht <adrien+dev@schischi.me>
Thu, 28 May 2015 22:44:40 +0000 (15:44 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 29 May 2015 01:25:19 +0000 (18:25 -0700)
commit738f6a424593ba06ff6ee5b09da569b3076c31fe
treea7a68d53eb441e4b8661a54d14dab5c28e1c274b
parent060d0ab40074770c8dcd41f675e5c97acc798e07
scripts/gdb: fix lx-lsmod refcnt

Commit 0b1dfe01702c ("module: Replace module_ref with atomic_t refcnt")
changes the way refcnt is handled but did not update the gdb script to
use the new variable.

Since refcnt is not per-cpu anymore, we can directly read its value.

Signed-off-by: Adrien Schildknecht <adrien+dev@schischi.me>
Reviewed-by: Jan Kiszka <jan.kiszka@siemens.com>
Cc: Pantelis Koukousoulas <pktoss@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/gdb/linux/modules.py