Add pte_to_pgprot() and pgoff_prot_to_pte() macros, in generic versions; so wecan safely use it and keep the kernel compiling. For some architectures realdefinitions of the macros are actually provided.