module: convert to stop_machine_create/destroy.
commit9e01892c4234070bbcf3a9f582514c8b91464375
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Mon, 22 Dec 2008 11:36:31 +0000 (22 12:36 +0100)
committerRusty Russell <rusty@rustcorp.com.au>
Sun, 4 Jan 2009 22:10:15 +0000 (5 08:40 +1030)
tree3df2573e7f5bd469932efd50d2001af9736f53bf
parent9ea09af3bd3090e8349ca2899ca2011bd94cda85
module: convert to stop_machine_create/destroy.

The module code relies on a non-failing stop_machine call. So we create
the kstop threads in advance and with that make sure the call won't fail.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
kernel/module.c