[PATCH] ppc64: update to use the new 4L headers

Chris Friesen cfriesen at nortel.com
Thu Apr 28 12:04:26 EST 2005


Nick Piggin wrote:

> Just a bit off-topic: I wonder how many more of these open
> coded pt walks exist in arch code (yes I see you've cleaned
> yours up - good).

I know there's open coded walks outside the tree (I maintain one) due to 
there being no suitable function available from with in it...

I needed something like:

pte_t *va_to_ptep_map(struct mm_struct *mm, unsigned int addr)

There was code in follow_page() that did basically what I needed, but it 
was all contained within that function so I had to re-implement it.

Chris




More information about the Linuxppc64-dev mailing list