Re: pte_val(*pte) as lvalue

Timur Tabi (ttabi@interactivesi.com)
Tue, 3 Jul 2001 13:32:36 -0500


** Reply to message from Andi Kleen <ak@suse.de> on 03 Jul 2001 01:33:42 +0200

> Timur Tabi <ttabi@interactivesi.com> writes:
>
> >
> > What is the accepted way to assign an integer to a pte that works in 2.2 and
> > 2.4?
>
> set_pte(pte, mk_pte( ... ))

I'm not sure how to use mk_pte. The first parameter is a struct page *, which
I don't have. All I'm doing is modifying the PTE value. I don't want to "make"
another one.

-- 
Timur Tabi - ttabi@interactivesi.com
Interactive Silicon - http://www.interactivesi.com

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/