diff options
Diffstat (limited to 'arch/arc/include/asm/pgtable.h')
-rw-r--r-- | arch/arc/include/asm/pgtable.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arc/include/asm/pgtable.h b/arch/arc/include/asm/pgtable.h index 10d4b8b8e545..034bbdc0ff61 100644 --- a/arch/arc/include/asm/pgtable.h +++ b/arch/arc/include/asm/pgtable.h | |||
@@ -217,7 +217,7 @@ | |||
217 | #define BITS_FOR_PTE (PGDIR_SHIFT - PAGE_SHIFT) | 217 | #define BITS_FOR_PTE (PGDIR_SHIFT - PAGE_SHIFT) |
218 | #define BITS_FOR_PGD (32 - PGDIR_SHIFT) | 218 | #define BITS_FOR_PGD (32 - PGDIR_SHIFT) |
219 | 219 | ||
220 | #define PGDIR_SIZE (1UL << PGDIR_SHIFT) /* vaddr span, not PDG sz */ | 220 | #define PGDIR_SIZE _BITUL(PGDIR_SHIFT) /* vaddr span, not PDG sz */ |
221 | #define PGDIR_MASK (~(PGDIR_SIZE-1)) | 221 | #define PGDIR_MASK (~(PGDIR_SIZE-1)) |
222 | 222 | ||
223 | #define PTRS_PER_PTE _BITUL(BITS_FOR_PTE) | 223 | #define PTRS_PER_PTE _BITUL(BITS_FOR_PTE) |