diff options
Diffstat (limited to 'include/asm-m32r/pgtable.h')
-rw-r--r-- | include/asm-m32r/pgtable.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-m32r/pgtable.h b/include/asm-m32r/pgtable.h index 8b2a2f17e695..6604303fc47c 100644 --- a/include/asm-m32r/pgtable.h +++ b/include/asm-m32r/pgtable.h | |||
@@ -366,7 +366,7 @@ static inline void pmd_set(pmd_t * pmdp, pte_t * ptep) | |||
366 | #define pte_unmap_nested(pte) do { } while (0) | 366 | #define pte_unmap_nested(pte) do { } while (0) |
367 | 367 | ||
368 | /* Encode and de-code a swap entry */ | 368 | /* Encode and de-code a swap entry */ |
369 | #define __swp_type(x) (((x).val >> 2) & 0x3f) | 369 | #define __swp_type(x) (((x).val >> 2) & 0x1f) |
370 | #define __swp_offset(x) ((x).val >> 10) | 370 | #define __swp_offset(x) ((x).val >> 10) |
371 | #define __swp_entry(type, offset) \ | 371 | #define __swp_entry(type, offset) \ |
372 | ((swp_entry_t) { ((type) << 2) | ((offset) << 10) }) | 372 | ((swp_entry_t) { ((type) << 2) | ((offset) << 10) }) |