x86/efi: Runtime services virtual mapping
[linux-2.6-block.git] / arch / x86 / include / asm / pgtable_types.h
index f4843e031131d224280c4c0d845def9a094f3082..028e28b6fc2c4d598f81887f75f7793d9805b38e 100644 (file)
@@ -379,7 +379,8 @@ static inline void update_page_count(int level, unsigned long pages) { }
  */
 extern pte_t *lookup_address(unsigned long address, unsigned int *level);
 extern phys_addr_t slow_virt_to_phys(void *__address);
-
+extern int kernel_map_pages_in_pgd(pgd_t *pgd, u64 pfn, unsigned long address,
+                                  unsigned numpages, unsigned long page_flags);
 #endif /* !__ASSEMBLY__ */
 
 #endif /* _ASM_X86_PGTABLE_DEFS_H */