aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-x86
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-x86')
-rw-r--r--include/asm-x86/pgtable_32.h2
-rw-r--r--include/asm-x86/pgtable_64.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-x86/pgtable_32.h b/include/asm-x86/pgtable_32.h
index eb8cccfa6a4..9381bd37b9b 100644
--- a/include/asm-x86/pgtable_32.h
+++ b/include/asm-x86/pgtable_32.h
@@ -182,7 +182,7 @@ static inline void clone_pgd_range(pgd_t *dst, pgd_t *src, int count)
182 * NOTE: the return type is pte_t but if the pmd is PSE then we return it 182 * NOTE: the return type is pte_t but if the pmd is PSE then we return it
183 * as a pte too. 183 * as a pte too.
184 */ 184 */
185extern pte_t *lookup_address(unsigned long address); 185extern pte_t *lookup_address(unsigned long address, int *level);
186 186
187/* 187/*
188 * Make a given kernel text page executable/non-executable. 188 * Make a given kernel text page executable/non-executable.
diff --git a/include/asm-x86/pgtable_64.h b/include/asm-x86/pgtable_64.h
index 29fdeb8111b..139da50cd51 100644
--- a/include/asm-x86/pgtable_64.h
+++ b/include/asm-x86/pgtable_64.h
@@ -240,7 +240,7 @@ extern struct list_head pgd_list;
240 240
241extern int kern_addr_valid(unsigned long addr); 241extern int kern_addr_valid(unsigned long addr);
242 242
243pte_t *lookup_address(unsigned long addr); 243pte_t *lookup_address(unsigned long addr, int *level);
244 244
245#define io_remap_pfn_range(vma, vaddr, pfn, size, prot) \ 245#define io_remap_pfn_range(vma, vaddr, pfn, size, prot) \
246 remap_pfn_range(vma, vaddr, pfn, size, prot) 246 remap_pfn_range(vma, vaddr, pfn, size, prot)