aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/blackfin/mm/blackfin_sram.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/blackfin/mm/blackfin_sram.c b/arch/blackfin/mm/blackfin_sram.c
index dbb37b8854f5..68107924639e 100644
--- a/arch/blackfin/mm/blackfin_sram.c
+++ b/arch/blackfin/mm/blackfin_sram.c
@@ -109,8 +109,9 @@ void __init l1_data_sram_init(void)
109#endif 109#endif
110#if L1_DATA_B_LENGTH != 0 110#if L1_DATA_B_LENGTH != 0
111 memset(&l1_data_B_sram, 0x00, sizeof(l1_data_B_sram)); 111 memset(&l1_data_B_sram, 0x00, sizeof(l1_data_B_sram));
112 l1_data_B_sram[0].paddr = (void*)L1_DATA_B_START; 112 l1_data_B_sram[0].paddr = (void *)L1_DATA_B_START +
113 l1_data_B_sram[0].size = L1_DATA_B_LENGTH; 113 (_ebss_b_l1 - _sdata_b_l1);
114 l1_data_B_sram[0].size = L1_DATA_B_LENGTH - (_ebss_b_l1 - _sdata_b_l1);
114 l1_data_B_sram[0].flag = SRAM_SLT_FREE; 115 l1_data_B_sram[0].flag = SRAM_SLT_FREE;
115 116
116 printk(KERN_INFO "Blackfin Data B SRAM: %d KB (%d KB free)\n", 117 printk(KERN_INFO "Blackfin Data B SRAM: %d KB (%d KB free)\n",