]> git.karo-electronics.de Git - karo-tx-linux.git/commit
module: add new state MODULE_STATE_UNFORMED.
authorRusty Russell <rusty@rustcorp.com.au>
Sat, 12 Jan 2013 01:08:44 +0000 (11:38 +1030)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 28 Jan 2013 04:49:02 +0000 (20:49 -0800)
commit27fb20cc5a25acbc5396adfe286e3e5fc0befaf9
treef6c238b70c7bd74d45f548c12053d672f43cd49d
parentdd1b4df2d30cef50fd648ecba6a590d9f0ff9ea7
module: add new state MODULE_STATE_UNFORMED.

commit 0d21b0e3477395e7ff2acc269f15df6e6a8d356d upstream.

You should never look at such a module, so it's excised from all paths
which traverse the modules list.

We add the state at the end, to avoid gratuitous ABI break (ksplice).

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/linux/module.h
kernel/debug/kdb/kdb_main.c
kernel/module.c