[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[microblaze-uclinux] More details on my problem



This is a modification I made on the file linux-2.4.x/mmnommu/page_alloc.c

         printk("On node %d totalpages: %lu\n", nid, realtotalpages);

         /*
          * Some architectures (with lots of mem and discontinous memory
          * maps) have to search for a good mem_map area:
          * For discontigmem, the conceptual mem map array starts from
          * PAGE_OFFSET, we need to align the actual array onto a mem map
          * boundary, so that MAP_NR works.
          */
         map_size = (totalpages + 1)*sizeof(struct page);

         printk("DBG: 1\n"); 

         if (lmem_map == (struct page *)0) {

The message "DBG: 1" is never printed on the console.
Anyone can help understanding what's the cause of this?

--------------------------------------------------------
Roberto Farina
CEFRIEL - Embedded Systems Design Unit
Via Fucini, 2 - 20133 MILANO (ITALY)
Phone:    +39 02 23954 236
Fax:      +39 02 23954 254
E-mail:   roberto.farina@cefriel.it
-------------------------------------------------------- 

___________________________
microblaze-uclinux mailing list
microblaze-uclinux@itee.uq.edu.au
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/