linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* (no subject)
@ 2009-02-25 21:18 Vinay Venkataraghavan
  0 siblings, 0 replies; only message in thread
From: Vinay Venkataraghavan @ 2009-02-25 21:18 UTC (permalink / raw)
  To: linux-kernel


Folks,

I am trying to port some PPC code to x86 based linux. My question is that I am need to create some page mappings using remap_pfn_range. In the code for the PPC,
the protection flags being specified are:

__pgprot(_PAGE_NO_CACHE | _PAGE_GUARDED);

But it looks like these do not exist when linux is compiled for the x86 architecture. 

What are the relevant protection flags to achieve the same for the x86 architecture. 

Thanks for any help.

- Vinay



      

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-02-25 21:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-02-25 21:18 Vinay Venkataraghavan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).