summaryrefslogtreecommitdiffstats
path: root/arch/blackfin
diff options
context:
space:
mode:
authorBernd Schmidt <bernd.schmidt@analog.com>2009-02-12 10:40:15 +0000
committerDavid Woodhouse <David.Woodhouse@intel.com>2009-03-24 09:02:59 +0000
commit158772c2d4178525365dd46b8223184a861df58f (patch)
tree75e00cc4bf38d6d74d8960a779cf97a1f88bdb87 /arch/blackfin
parentf52fd5b7fd11e85fe9de15d5c5b5d574f9ff4cab (diff)
downloadop-kernel-dev-158772c2d4178525365dd46b8223184a861df58f.zip
op-kernel-dev-158772c2d4178525365dd46b8223184a861df58f.tar.gz
[MTD] Fix a bad dependency in the Blackfin code
Fix a bad dependency in the Blackfin code on a RomFS config symbol that doesn't exist upstream. Signed-off-by: Bernd Schmidt <bernd.schmidt@analog.com> Signed-off-by: David Howells <dhowells@redhat.com> Tested-by: Bernd Schmidt <bernd.schmidt@analog.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'arch/blackfin')
-rw-r--r--arch/blackfin/kernel/process.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/blackfin/kernel/process.c b/arch/blackfin/kernel/process.c
index 33e2e89..7f7ce07 100644
--- a/arch/blackfin/kernel/process.c
+++ b/arch/blackfin/kernel/process.c
@@ -337,7 +337,7 @@ int _access_ok(unsigned long addr, unsigned long size)
if (addr >= memory_mtd_end && (addr + size) <= physical_mem_end)
return 1;
-#ifdef CONFIG_ROMFS_MTD_FS
+#ifdef CONFIG_ROMFS_ON_MTD
/* For XIP, allow user space to use pointers within the ROMFS. */
if (addr >= memory_mtd_start && (addr + size) <= memory_mtd_end)
return 1;
OpenPOWER on IntegriCloud