module: add new state MODULE_STATE_UNFORMED.
authorRusty Russell <rusty@rustcorp.com.au>
Sat, 12 Jan 2013 01:08:44 +0000 (11:38 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Sat, 12 Jan 2013 02:57:05 +0000 (13:27 +1030)
commit0d21b0e3477395e7ff2acc269f15df6e6a8d356d
tree116c1a198a36f7ec80cf39e8f307175344290612
parent52441fa8f2f1ccc9fa97607c6ccf8b46b9fd15ae
module: add new state MODULE_STATE_UNFORMED.

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>
include/linux/module.h
kernel/debug/kdb/kdb_main.c
kernel/module.c