Skip to contentSkip to conversation

blackfin arch fix bug prevent warning in case BF531 is target

PATCH New Wu, Bryan 1 participant 1 message Mar 29, 2007

lore
Share & tools
lore

Wu, Bryan

author
#0 lore raw

PATCH 1/1 blackfin arch fix bug prevent warning in case BF531 is target

---
 arch/blackfin/kernel/setup.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/blackfin/kernel/setup.c +1 -1
index 96ee2fa..ce51882 100644
@@ -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)
Signature · 1 line
1.5.0.5