diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2000-02-23 00:40:54 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2000-02-23 00:40:54 +0000 |
commit | 529c593ece216e4aaffd36bd940cb94f1fa63129 (patch) | |
tree | 78f1c0b805f5656aa7b0417a043c5346f700a2cf /include/asm-i386/page.h | |
parent | 0bd079751d25808d1972baee5c4eaa1db2227257 (diff) |
Merge with 2.3.43. I did ignore all modifications to the qlogicisp.c
driver due to the Origin A64 hacks.
Diffstat (limited to 'include/asm-i386/page.h')
-rw-r--r-- | include/asm-i386/page.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-i386/page.h b/include/asm-i386/page.h index d6f199989..67855d163 100644 --- a/include/asm-i386/page.h +++ b/include/asm-i386/page.h @@ -37,10 +37,12 @@ typedef struct { unsigned long long pte; } pte_t; typedef struct { unsigned long long pmd; } pmd_t; typedef struct { unsigned long long pgd; } pgd_t; +#define PTE_MASK (~(unsigned long long) (PAGE_SIZE-1)) #else typedef struct { unsigned long pte; } pte_t; typedef struct { unsigned long pmd; } pmd_t; typedef struct { unsigned long pgd; } pgd_t; +#define PTE_MASK PAGE_MASK #endif typedef struct { unsigned long pgprot; } pgprot_t; |