[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] Remove ssidref field from test -- this now only works if there is a policy in
Don't try to write to pmd pages, there is no writeable-pmd support. # HG changeset patch # User cl349@xxxxxxxxxxxxxxxxxxxx # Node ID 5afb142646294a6c446e275c5bef60ff7d477881 # Parent 8761333499ae2874647eb5d67d8cb091fbc5b14b Don't try to write to pmd pages, there is no writeable-pmd support. Signed-off-by: Christian Limpach <Christian.Limpach@xxxxxxxxxxxx> --- linux-2.6-xen-sparse/include/asm-i386/mach-xen/asm/pgtable-3level.h | 8 +------- 1 files changed, 1 insertion(+), 7 deletions(-) diff -r 8761333499ae -r 5afb14264629 linux-2.6-xen-sparse/include/asm-i386/mach-xen/asm/pgtable-3level.h --- a/linux-2.6-xen-sparse/include/asm-i386/mach-xen/asm/pgtable-3level.h Thu May 04 21:24:39 2006 +0100 +++ b/linux-2.6-xen-sparse/include/asm-i386/mach-xen/asm/pgtable-3level.h Fri May 05 00:27:10 2006 +0100 @@ -119,13 +119,7 @@ static inline void pte_clear(struct mm_s ptep->pte_high = 0; } -static inline void pmd_clear(pmd_t *pmd) -{ - u32 *tmp = (u32 *)pmd; - *tmp = 0; - smp_wmb(); - *(tmp + 1) = 0; -} +#define pmd_clear(xp) do { set_pmd(xp, __pmd(0)); } while (0) static inline pte_t ptep_get_and_clear(struct mm_struct *mm, unsigned long addr, pte_t *ptep) { _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |