Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=43a3188ea348c41a197a754164ff96cc48124d85 Commit: 43a3188ea348c41a197a754164ff96cc48124d85 Parent: 581d62ab304fb43d2ae4de06527676661b171cf6 Author: Mike Frysinger <[EMAIL PROTECTED]> AuthorDate: Thu Jun 14 13:33:37 2007 +0800 Committer: Bryan Wu <[EMAIL PROTECTED]> CommitDate: Thu Jun 14 13:33:37 2007 +0800
Blackfin arch: make sure we initialize our L1 Data B section properly based on the linked kernel Signed-off-by: Mike Frysinger <[EMAIL PROTECTED]> Signed-off-by: Bryan Wu <[EMAIL PROTECTED]> --- arch/blackfin/mm/blackfin_sram.c | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/blackfin/mm/blackfin_sram.c b/arch/blackfin/mm/blackfin_sram.c index dbb37b8..6810792 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) #endif #if L1_DATA_B_LENGTH != 0 memset(&l1_data_B_sram, 0x00, sizeof(l1_data_B_sram)); - l1_data_B_sram[0].paddr = (void*)L1_DATA_B_START; - l1_data_B_sram[0].size = L1_DATA_B_LENGTH; + l1_data_B_sram[0].paddr = (void *)L1_DATA_B_START + + (_ebss_b_l1 - _sdata_b_l1); + l1_data_B_sram[0].size = L1_DATA_B_LENGTH - (_ebss_b_l1 - _sdata_b_l1); l1_data_B_sram[0].flag = SRAM_SLT_FREE; printk(KERN_INFO "Blackfin Data B SRAM: %d KB (%d KB free)\n", - To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html