]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-i386/pgtable-3level.h
x86: create asm/cmpxchg.h
[linux-2.6-omap-h63xx.git] / include / asm-i386 / pgtable-3level.h
index 45b0241815070c3c84605b5f70855bdd461a23d2..eb0f1d7e96a169365a277e3817f6a50aced276ba 100644 (file)
@@ -139,16 +139,6 @@ static inline void pud_clear (pud_t * pud) { }
 #define pmd_offset(pud, address) ((pmd_t *) pud_page(*(pud)) + \
                        pmd_index(address))
 
-/* local pte updates need not use xchg for locking */
-static inline pte_t native_local_ptep_get_and_clear(pte_t *ptep)
-{
-       pte_t res;
-
-       res = *ptep;
-       native_pte_clear(NULL, 0, ptep);
-       return res;
-}
-
 #ifdef CONFIG_SMP
 static inline pte_t native_ptep_get_and_clear(pte_t *ptep)
 {