module: Unlink module with RCU synchronizing instead of stop_machine
authorMasami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Sun, 9 Nov 2014 22:57:29 +0000 (09:27 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 11 Nov 2014 06:37:45 +0000 (17:07 +1030)
commit461e34aed0550fee706a9a28fb453830b5079ea0
tree6a0a337bc67f6c1347866a7feceebfcf135cfcc2
parent4f48795b6154852d07d971e402c35ecc460ddcb6
module: Unlink module with RCU synchronizing instead of stop_machine

Unlink module from module list with RCU synchronizing instead
of using stop_machine(). Since module list is already protected
by rcu, we don't need stop_machine() anymore.

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