summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/pgtable-2level.h
diff options
context:
space:
mode:
authorJeremy Fitzhardinge2009-03-18 21:03:33 +0100
committerIngo Molnar2009-03-19 14:04:19 +0100
commit71ff49d71bb5cfcd2689b54cb433c0e6990a1d86 (patch)
treecd10748eca84c4f843ff048bfac7dd4d3b69537c /arch/x86/include/asm/pgtable-2level.h
parentx86/32: no need to use set_pte_present in set_pte_vaddr (diff)
downloadkernel-qcow2-linux-71ff49d71bb5cfcd2689b54cb433c0e6990a1d86.tar.gz
kernel-qcow2-linux-71ff49d71bb5cfcd2689b54cb433c0e6990a1d86.tar.xz
kernel-qcow2-linux-71ff49d71bb5cfcd2689b54cb433c0e6990a1d86.zip
x86: with the last user gone, remove set_pte_present
Impact: cleanup set_pte_present() is no longer used, directly or indirectly, so remove it. Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> Cc: Xen-devel <xen-devel@lists.xensource.com> Cc: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> Cc: Alok Kataria <akataria@vmware.com> Cc: Marcelo Tosatti <mtosatti@redhat.com> Cc: Avi Kivity <avi@redhat.com> LKML-Reference: <1237406613-2929-2-git-send-email-jeremy@goop.org> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/include/asm/pgtable-2level.h')
-rw-r--r--arch/x86/include/asm/pgtable-2level.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/x86/include/asm/pgtable-2level.h b/arch/x86/include/asm/pgtable-2level.h
index c1774ac9da7a..2334982b339e 100644
--- a/arch/x86/include/asm/pgtable-2level.h
+++ b/arch/x86/include/asm/pgtable-2level.h
@@ -26,13 +26,6 @@ static inline void native_set_pte_atomic(pte_t *ptep, pte_t pte)
native_set_pte(ptep, pte);
}
-static inline void native_set_pte_present(struct mm_struct *mm,
- unsigned long addr,
- pte_t *ptep, pte_t pte)
-{
- native_set_pte(ptep, pte);
-}
-
static inline void native_pmd_clear(pmd_t *pmdp)
{
native_set_pmd(pmdp, __pmd(0));