[MTD] Fix a bad dependency in the Blackfin code

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Tue Mar 24 05:59:02 EDT 2009


Gitweb:     http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=158772c2d4178525365dd46b8223184a861df58f
Commit:     158772c2d4178525365dd46b8223184a861df58f
Parent:     f52fd5b7fd11e85fe9de15d5c5b5d574f9ff4cab
Author:     Bernd Schmidt <bernd.schmidt at analog.com>
AuthorDate: Thu Feb 12 10:40:15 2009 +0000
Committer:  David Woodhouse <David.Woodhouse at intel.com>
CommitDate: Tue Mar 24 09:02:59 2009 +0000

    [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 at analog.com>
    Signed-off-by: David Howells <dhowells at redhat.com>
    Tested-by: Bernd Schmidt <bernd.schmidt at analog.com>
    Signed-off-by: David Woodhouse <David.Woodhouse at intel.com>
---
 arch/blackfin/kernel/process.c |    2 +-
 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;



More information about the linux-mtd-cvs mailing list