[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090212104015.26766.41302.stgit@warthog.procyon.org.uk>
Date: Thu, 12 Feb 2009 10:40:15 +0000
From: David Howells <dhowells@...hat.com>
To: dwmw2@...radead.org, bernds_cb1@...nline.de
Cc: dhowells@...hat.com, linux-kernel@...r.kernel.org
Subject: [PATCH 4/4] MTD: Fix a bad dependency in the Blackfin code
From: Bernd Schmidt <bernd.schmidt@...log.com>
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@...log.com>
Signed-off-by: David Howells <dhowells@...hat.com>
Tested-by: Bernd Schmidt <bernd.schmidt@...log.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;
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists