[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [microblaze-uclinux] More details on my problem
Jivin Roberto Farina lays it down ...
> 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?
Any chance you are using page_alloc2.c instead ?
I take you are getting the "On node %d totalpa ..." message ;-)
Cheers,
Davidm
--
David McCullough, davidm@snapgear.com Ph:+61 7 34352815 http://www.SnapGear.com
Custom Embedded Solutions + Security Fx:+61 7 38913630 http://www.uCdot.org
___________________________
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/