projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
x86: unify pmd_offset
[deliverable/linux.git]
/
arch
/
x86
/
include
/
asm
/
pgtable-3level.h
diff --git
a/arch/x86/include/asm/pgtable-3level.h
b/arch/x86/include/asm/pgtable-3level.h
index 28ba09ac23083f91c96c8a87e81436958c187013..7ad9d05710b145f9bed008b93e0cadcefe14f96d 100644
(file)
--- a/
arch/x86/include/asm/pgtable-3level.h
+++ b/
arch/x86/include/asm/pgtable-3level.h
@@
-115,10
+115,6
@@
static inline void pud_clear(pud_t *pudp)
write_cr3(pgd);
}
-/* Find an entry in the second-level page table.. */
-#define pmd_offset(pud, address) ((pmd_t *)pud_page_vaddr(*(pud)) + \
- pmd_index(address))
-
#ifdef CONFIG_SMP
static inline pte_t native_ptep_get_and_clear(pte_t *ptep)
{
This page took
0.025539 seconds
and
5
git commands to generate.