Messages in this thread | | | Date | Tue, 2 Nov 1999 12:57:51 +0100 (MET) | From | Roman Zippel <> | Subject | Re: new bootmem structure |
| |
Hi,
On Mon, 1 Nov 1999, Linus Torvalds wrote:
> > Second, I would like to get a final answer on the purpose of the __pa/__va > > macros. So far I thought they could be used for fast address conversion > > on kernel memory, but since they not widely used in the kernel, they > > basically dummys in the m68k port. But bootmem.c uses them now quite often > > and in the new pre-patch I see that the arm people did change these macros > > and it makes no sense to me, except that it seems they want to get the > > bootmem stuff working with virtual addresses (or better a faked continuous > > physical address range). > > This is just Ingo being bad. He should have used virt_to_phys() and > friends, not __pa().
That's not really a problem, if we could define that __pa()/__va() works only specific memory areas and is completly undefined for others (except for __va(), see other mail for that).
bye, Roman
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |