aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-sh/pgtable.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-sh/pgtable.h')
-rw-r--r--include/asm-sh/pgtable.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-sh/pgtable.h b/include/asm-sh/pgtable.h
index af62bd33a02a..036ca2843866 100644
--- a/include/asm-sh/pgtable.h
+++ b/include/asm-sh/pgtable.h
@@ -548,7 +548,7 @@ extern void update_mmu_cache(struct vm_area_struct * vma,
548#else 548#else
549#define __swp_type(x) ((x).val & 0xff) 549#define __swp_type(x) ((x).val & 0xff)
550#define __swp_offset(x) ((x).val >> 10) 550#define __swp_offset(x) ((x).val >> 10)
551#define __swp_entry(type, offset) ((swp_entry_t){(type) | (offset) <<10)}) 551#define __swp_entry(type, offset) ((swp_entry_t){(type) | (offset) <<10})
552 552
553#define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) >> 1 }) 553#define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) >> 1 })
554#define __swp_entry_to_pte(x) ((pte_t) { (x).val << 1 }) 554#define __swp_entry_to_pte(x) ((pte_t) { (x).val << 1 })