Re: [PATCH] scripts/gdb: fix lx-lsmod refcnt

2015-05-21 Thread Jan Kiszka
On 2015-05-20 16:42, Adrien Schildknecht wrote: > Commit 2f35c41f58a9 ("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. > > S

[PATCH] scripts/gdb: fix lx-lsmod refcnt

2015-05-20 Thread Adrien Schildknecht
Commit 2f35c41f58a9 ("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 --- scripts/gdb/linux/modu