Ingo Molnar writes:> i've fixed this already in my tree (patch attached) - but i do not think> this should make any difference. bootmem.c does not deal with vmalloced or> ioremapped memory, so __pa/__va should be identical to virt_to_phys /> phys_to_virt.

However, the attached patch would totally stuff certainly the ARM architectureand quite possibly any other architecture whos physical memory did not startat zero - the bitmap would become unnecessarily huge.

There are two ways of fixing this:

1. Define something which returns an offset into physical memory2. Pass a parameter into init_bootmem which is the start of physical memory and use the virt_to_phys routines.