From: Jeremy Fitzhardinge Date: Tue, 20 May 2008 07:26:22 +0000 (+0100) Subject: x86: clarify use of _PAGE_CHG_MASK X-Git-Tag: v2.6.26-rc4~106 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=86aaf4fd4ea25ddde05772d03b93dbce23c0ead1;p=platform%2Fkernel%2Flinux-3.10.git x86: clarify use of _PAGE_CHG_MASK _PAGE_CHG_MASK is defined as the set of bits not updated by pte_modify(); specifically, the pfn itself, and the Accessed and Dirty bits (which are updated by hardware). Signed-off-by: Jeremy Fitzhardinge Tested-by: Hugh Dickins Signed-off-by: Linus Torvalds --- diff --git a/include/asm-x86/pgtable.h b/include/asm-x86/pgtable.h index 55c3a0e..b816134 100644 --- a/include/asm-x86/pgtable.h +++ b/include/asm-x86/pgtable.h @@ -57,6 +57,7 @@ #define _KERNPG_TABLE (_PAGE_PRESENT | _PAGE_RW | _PAGE_ACCESSED | \ _PAGE_DIRTY) +/* Set of bits not changed in pte_modify */ #define _PAGE_CHG_MASK (PTE_MASK | _PAGE_PCD | _PAGE_PWT | \ _PAGE_ACCESSED | _PAGE_DIRTY)