mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] blackfin arch fix bug prevent warning in case BF531 is target
@ 2007-03-29 10:42 Wu, Bryan
  0 siblings, 0 replies; only message in thread
From: Wu, Bryan @ 2007-03-29 10:42 UTC (permalink / raw)
  To: Andrew Morton, linux-kernel


Signed-off-by: Bryan Wu <bryan.wu@analog.com>
---
 arch/blackfin/kernel/setup.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/blackfin/kernel/setup.c b/arch/blackfin/kernel/setup.c
index 96ee2fa..ce51882 100644
--- a/arch/blackfin/kernel/setup.c
+++ b/arch/blackfin/kernel/setup.c
@@ -571,7 +571,7 @@ static void __init generate_cpl_tables(void)
 			 * rootfs size, there can be overlapping memory areas.
 			 */
 
-			if (as_1m) {
+			if (as_1m &&  i!=L1I_MEM && i!=L1D_MEM) {
 #ifdef CONFIG_MTD_UCLINUX
 				if (i == SDRAM_RAM_MTD) {
 					if ((cplb_data[SDRAM_KERN].end + 1) > cplb_data[SDRAM_RAM_MTD].start)
-- 
1.5.0.5


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-03-29 10:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-29 10:42 [PATCH] blackfin arch fix bug prevent warning in case BF531 is target Wu, Bryan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®