]> 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)
commit763d2ec9405f7a8c16ba7ccbefc5430ea0499aac
treea7a68d53eb441e4b8661a54d14dab5c28e1c274b
parent0201b7f24b8afcff2d111ba70bf75dd40a2313b4
scripts/gdb: fix lx-lsmod refcnt

Commit 078ae12ca9fc ("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