diff options
Diffstat (limited to 'include/asm-sh/pgtable_32.h')
-rw-r--r-- | include/asm-sh/pgtable_32.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-sh/pgtable_32.h b/include/asm-sh/pgtable_32.h index 7030360..7efc954 100644 --- a/include/asm-sh/pgtable_32.h +++ b/include/asm-sh/pgtable_32.h @@ -98,7 +98,7 @@ #define _PAGE_CLEAR_FLAGS (_PAGE_PROTNONE | _PAGE_ACCESSED | _PAGE_FILE) #endif -#define _PAGE_FLAGS_HARDWARE_MASK (0x1fffffff & ~(_PAGE_CLEAR_FLAGS)) +#define _PAGE_FLAGS_HARDWARE_MASK (PHYS_ADDR_MASK & ~(_PAGE_CLEAR_FLAGS)) /* Hardware flags, page size encoding */ #if defined(CONFIG_X2TLB) |