]> err.no Git - linux-2.6/commitdiff
[Blackfin] arch: add fixed code to the memory map output
authorMike Frysinger <vapier.adi@gmail.com>
Fri, 22 Feb 2008 08:35:20 +0000 (16:35 +0800)
committerBryan Wu <cooloney@kernel.org>
Fri, 22 Feb 2008 08:35:20 +0000 (16:35 +0800)
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
arch/blackfin/kernel/setup.c

index 8229b1090eb9622a427561d675cf59f1df153d85..febcbc527b456017cb9c40b6ef15d46b93da4c2b 100644 (file)
@@ -514,6 +514,7 @@ static __init void  memory_setup(void)
        printk(KERN_INFO "Kernel Managed Memory: %ldMB\n", _ramend >> 20);
 
        printk(KERN_INFO "Memory map:\n"
+               KERN_INFO "  fixedcode = 0x%p-0x%p\n"
                KERN_INFO "  text      = 0x%p-0x%p\n"
                KERN_INFO "  rodata    = 0x%p-0x%p\n"
                KERN_INFO "  bss       = 0x%p-0x%p\n"
@@ -527,7 +528,8 @@ static __init void  memory_setup(void)
 #if DMA_UNCACHED_REGION > 0
                KERN_INFO "  DMA Zone  = 0x%p-0x%p\n"
 #endif
-               , _stext, _etext,
+               , (void *)FIXED_CODE_START, (void *)FIXED_CODE_END,
+               _stext, _etext,
                __start_rodata, __end_rodata,
                __bss_start, __bss_stop,
                _sdata, _edata,