diff options
author | Eduardo Habkost <ehabkost@redhat.com> | 2008-06-25 00:19:22 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-08 13:11:09 +0200 |
commit | 0814e0bace537b7024b09187346b99401e6281be (patch) | |
tree | 649a0a3e48e9fdef2c3ad3c96392936cc262a798 /include/asm-x86/pgtable_64.h | |
parent | 4f30cb0262847392d8d006042f24bd90abd24f9d (diff) | |
download | kernel-crypto-0814e0bace537b7024b09187346b99401e6281be.tar.gz kernel-crypto-0814e0bace537b7024b09187346b99401e6281be.tar.xz kernel-crypto-0814e0bace537b7024b09187346b99401e6281be.zip |
x86, 64-bit: split set_pte_vaddr()
We will need to set a pte on l3_user_pgt. Extract set_pte_vaddr_pud()
from set_pte_vaddr(), that will accept the l3 page table as parameter.
This change should be a no-op for existing code.
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Mark McLoughlin <markmc@redhat.com>
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Cc: xen-devel <xen-devel@lists.xensource.com>
Cc: Stephen Tweedie <sct@redhat.com>
Cc: Mark McLoughlin <markmc@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/asm-x86/pgtable_64.h')
-rw-r--r-- | include/asm-x86/pgtable_64.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asm-x86/pgtable_64.h b/include/asm-x86/pgtable_64.h index 9a9350abe4e..fa7208b483c 100644 --- a/include/asm-x86/pgtable_64.h +++ b/include/asm-x86/pgtable_64.h @@ -70,6 +70,9 @@ extern void paging_init(void); struct mm_struct; +void set_pte_vaddr_pud(pud_t *pud_page, unsigned long vaddr, pte_t new_pte); + + static inline void native_pte_clear(struct mm_struct *mm, unsigned long addr, pte_t *ptep) { |