]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[MTD] Fix a bad dependency in the Blackfin code
authorBernd Schmidt <bernd.schmidt@analog.com>
Thu, 12 Feb 2009 10:40:15 +0000 (10:40 +0000)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Tue, 24 Mar 2009 09:02:59 +0000 (09:02 +0000)
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>
arch/blackfin/kernel/process.c

index 33e2e8993f7f967739c8539f932ea6b1d46725da..7f7ce076184ba8b492ee238dbc4112bc7fb8dedc 100644 (file)
@@ -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;