make BINFMT_FLAT a bool
I have not yet seen anyone saying he has a reasonable use case for using BINFMT_FLAT modular on his embedded device. Considering that fs/binfmt_flat.c even lacks a MODULE_LICENSE() I really doubt there is any, and this patch therefore makes BINFMT_FLAT a bool. Signed-off-by: Adrian Bunk <bunk@kernel.org> Acked-by: Bryan Wu <cooloney.lkml@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
committed by
Linus Torvalds
parent
f1e3af72c1
commit
3202e1811f
@@ -932,14 +932,8 @@ static int __init init_flat_binfmt(void)
|
||||
return register_binfmt(&flat_format);
|
||||
}
|
||||
|
||||
static void __exit exit_flat_binfmt(void)
|
||||
{
|
||||
unregister_binfmt(&flat_format);
|
||||
}
|
||||
|
||||
/****************************************************************************/
|
||||
|
||||
core_initcall(init_flat_binfmt);
|
||||
module_exit(exit_flat_binfmt);
|
||||
|
||||
/****************************************************************************/
|
||||
|
Reference in New Issue
Block a user