On 3/12/07, peter fuerst <post@xxxxxxxx> wrote:
You see the problem. Any occurrence of PAGE_OFFSET must be checked.
yes and whatever the scheme you propose...
the kernel-addresses. Moreover it would be desirable, if this macro really could be used throughout the kernel, e.g. by drivers, handling any reasonable kernel-address, which isn't possible in the page_offset scheme anyway.
Can you explain why the current use of pa() failed to handle all kernel address with a real example ? A few people reported that they had problem with KPHYS/CKSEG0 address mix for 64 bit kernels but as far I can see it was due to a miss configuration of their kernels. Of course I can be wrong but these people haven't given any feedbacks so far... Thanks -- Franck