aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-sh
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2006-12-07 03:27:18 -0500
committerPaul Mundt <lethal@linux-sh.org>2006-12-11 18:42:07 -0500
commitb6250e37292b9679b82a3edc28f330a32eed9ae4 (patch)
treed6af5ad17115f0fda39bacd0fd5dc0f70aab9be7 /include/asm-sh
parent31ccb081ec6c7eedfd7e88a48365c67ce44ecb92 (diff)
sh: landisk board build fixes.
Get the landisk board building again.. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'include/asm-sh')
-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 })