]> git.baikalelectronics.ru Git - kernel.git/commit
module: Replace module_ref with atomic_t refcnt
authorMasami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Sun, 9 Nov 2014 22:59:29 +0000 (09:29 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 11 Nov 2014 06:37:46 +0000 (17:07 +1030)
commit0b1dfe01702c7de609cbaadb37d760ed798098d6
tree871fdf31787639112af15e3532bb6617660f2e47
parentaa505ae63c43ec061ea5651e0c8644fc8b086ad6
module: Replace module_ref with atomic_t refcnt

Replace module_ref per-cpu complex reference counter with
an atomic_t simple refcnt. This is for code simplification.

Signed-off-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
include/linux/module.h
include/trace/events/module.h
kernel/module.c