| To: | Sugi <Nobukazu.Sugiyama@am.sony.com> |
|---|---|
| Subject: | Re: Question about mmap() |
| From: | "Maciej W. Rozycki" <macro@ds2.pg.gda.pl> |
| Date: | Thu, 6 Sep 2001 13:00:13 +0200 (MET DST) |
| Cc: | "linux-mips@fnet.fr" <linux-mips@fnet.fr> |
| In-reply-to: | <3B9695EE.71F2DDEC@am.sony.com> |
| Organization: | Technical University of Gdansk |
| Reply-to: | "Maciej W. Rozycki" <macro@ds2.pg.gda.pl> |
On Wed, 5 Sep 2001, Sugi wrote: > I added the following line before calling remap_page_range(); > > vma->vma_page_range_prot.pgprot = (vma->vm_page_prot.pgprot & > ~_CACHE_MASK) | _CACHE_UNCACHED; > > And, now it works well. Consider using pgprot_noncached() as Ralf has just added it. You don't have to worry about future implementation changes if you use the generic function. -- + Maciej W. Rozycki, Technical University of Gdansk, Poland + +--------------------------------------------------------------+ + e-mail: macro@ds2.pg.gda.pl, PGP key available + |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Question about mmap(), Ralf Baechle |
|---|---|
| Next by Date: | [patch] linux 2.4.8: __dbe_table resync, Maciej W. Rozycki |
| Previous by Thread: | Re: Question about mmap(), Sugi |
| Next by Thread: | Re: Question about mmap(), Ralf Baechle |
| Indexes: | [Date] [Thread] [Top] [All Lists] |