summaryrefslogtreecommitdiffstats
path: root/fs/Kconfig.binfmt
diff options
context:
space:
mode:
authorNicolas Pitre <nicolas.pitre@linaro.org>2016-07-24 11:30:28 -0400
committerGreg Ungerer <gerg@linux-m68k.org>2016-07-28 13:29:13 +1000
commit002d2f01f13f1671d771e1493a3405ed4986694d (patch)
treec20e560cea52a5fdfde6be507b8a519bef83df74 /fs/Kconfig.binfmt
parent472f95f32d5aa07eda96a6b2578b85d7b27c5110 (diff)
downloadop-kernel-dev-002d2f01f13f1671d771e1493a3405ed4986694d.zip
op-kernel-dev-002d2f01f13f1671d771e1493a3405ed4986694d.tar.gz
m68k: enable binfmt_flat on systems with an MMU
Now that the generic changes are in place, this can be enabled on m68k with the use of proper user space accessors in the flat_get_addr_from_rp() and flat_put_addr_at_rp() handlers as rp actually holds a user space address. Signed-off-by: Nicolas Pitre <nico@linaro.org> Signed-off-by: Greg Ungerer <gerg@linux-m68k.org>
Diffstat (limited to 'fs/Kconfig.binfmt')
-rw-r--r--fs/Kconfig.binfmt3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/Kconfig.binfmt b/fs/Kconfig.binfmt
index 72c0335..c7efddf 100644
--- a/fs/Kconfig.binfmt
+++ b/fs/Kconfig.binfmt
@@ -89,7 +89,8 @@ config BINFMT_SCRIPT
config BINFMT_FLAT
bool "Kernel support for flat binaries"
- depends on !MMU && (!FRV || BROKEN)
+ depends on !MMU || M68K
+ depends on !FRV || BROKEN
help
Support uClinux FLAT format binaries.
OpenPOWER on IntegriCloud