diff options
| -rw-r--r-- | fs/Kconfig.binfmt | 2 | ||||
| -rw-r--r-- | fs/binfmt_flat.c | 6 |
2 files changed, 1 insertions, 7 deletions
diff --git a/fs/Kconfig.binfmt b/fs/Kconfig.binfmt index 853845abcca..55e8ee1900a 100644 --- a/fs/Kconfig.binfmt +++ b/fs/Kconfig.binfmt | |||
| @@ -41,7 +41,7 @@ config BINFMT_ELF_FDPIC | |||
| 41 | It is also possible to run FDPIC ELF binaries on MMU linux also. | 41 | It is also possible to run FDPIC ELF binaries on MMU linux also. |
| 42 | 42 | ||
| 43 | config BINFMT_FLAT | 43 | config BINFMT_FLAT |
| 44 | tristate "Kernel support for flat binaries" | 44 | bool "Kernel support for flat binaries" |
| 45 | depends on !MMU | 45 | depends on !MMU |
| 46 | help | 46 | help |
| 47 | Support uClinux FLAT format binaries. | 47 | Support uClinux FLAT format binaries. |
diff --git a/fs/binfmt_flat.c b/fs/binfmt_flat.c index 0498b181dd5..c12cc362fd3 100644 --- a/fs/binfmt_flat.c +++ b/fs/binfmt_flat.c | |||
| @@ -932,14 +932,8 @@ static int __init init_flat_binfmt(void) | |||
| 932 | return register_binfmt(&flat_format); | 932 | return register_binfmt(&flat_format); |
| 933 | } | 933 | } |
| 934 | 934 | ||
| 935 | static void __exit exit_flat_binfmt(void) | ||
| 936 | { | ||
| 937 | unregister_binfmt(&flat_format); | ||
| 938 | } | ||
| 939 | |||
| 940 | /****************************************************************************/ | 935 | /****************************************************************************/ |
| 941 | 936 | ||
| 942 | core_initcall(init_flat_binfmt); | 937 | core_initcall(init_flat_binfmt); |
| 943 | module_exit(exit_flat_binfmt); | ||
| 944 | 938 | ||
| 945 | /****************************************************************************/ | 939 | /****************************************************************************/ |
