Skip to content

Commit

Permalink
make BINFMT_FLAT a bool
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
AdrianBunk authored and torvalds committed Apr 29, 2008
1 parent f1e3af7 commit 3202e18
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion fs/Kconfig.binfmt
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ config BINFMT_ELF_FDPIC
It is also possible to run FDPIC ELF binaries on MMU linux also.

config BINFMT_FLAT
tristate "Kernel support for flat binaries"
bool "Kernel support for flat binaries"
depends on !MMU
help
Support uClinux FLAT format binaries.
Expand Down
6 changes: 0 additions & 6 deletions fs/binfmt_flat.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

/****************************************************************************/

0 comments on commit 3202e18

Please sign in to comment.