ia64/xen-unstable

changeset 5757:b513fd51f850

Small fix for PAE in 2.6.12.
Signed-off-by: Gerd Knorr <kraxel@suse.de>
author kaf24@firebug.cl.cam.ac.uk
date Tue Jul 12 16:21:23 2005 +0000 (2005-07-12)
parents d99ebf2de9f3
children d80e38e4b31d
files linux-2.6-xen-sparse/include/asm-xen/asm-i386/pgtable-3level.h
line diff
     1.1 --- a/linux-2.6-xen-sparse/include/asm-xen/asm-i386/pgtable-3level.h	Tue Jul 12 16:20:36 2005 +0000
     1.2 +++ b/linux-2.6-xen-sparse/include/asm-xen/asm-i386/pgtable-3level.h	Tue Jul 12 16:21:23 2005 +0000
     1.3 @@ -68,6 +68,7 @@ static inline void set_pte(pte_t *ptep, 
     1.4  		xen_l1_entry_update((pteptr), (pteval))
     1.5  # define set_pte_atomic(pteptr,pteval) set_pte(pteptr,pteval)
     1.6  #endif
     1.7 +#define set_pte_at(mm,addr,ptep,pteval) set_pte(ptep,pteval)
     1.8  
     1.9  #ifdef CONFIG_XEN_SHADOW_MODE
    1.10  # define set_pmd(pmdptr,pmdval) \
    1.11 @@ -105,7 +106,7 @@ static inline void pud_clear (pud_t * pu
    1.12  #define pmd_offset(pud, address) ((pmd_t *) pud_page(*(pud)) + \
    1.13  			pmd_index(address))
    1.14  
    1.15 -static inline pte_t ptep_get_and_clear(pte_t *ptep)
    1.16 +static inline pte_t ptep_get_and_clear(struct mm_struct *mm, unsigned long addr, pte_t *ptep)
    1.17  {
    1.18  	pte_t res;
    1.19