summaryrefslogtreecommitdiffstats
path: root/include/asm-sh/pgtable.h
diff options
context:
space:
mode:
authorPaul Mundt2006-12-07 09:27:18 +0100
committerPaul Mundt2006-12-12 00:42:07 +0100
commitb6250e37292b9679b82a3edc28f330a32eed9ae4 (patch)
treed6af5ad17115f0fda39bacd0fd5dc0f70aab9be7 /include/asm-sh/pgtable.h
parentrtc: rtc-sh: fix for period rtc interrupts. (diff)
downloadkernel-qcow2-linux-b6250e37292b9679b82a3edc28f330a32eed9ae4.tar.gz
kernel-qcow2-linux-b6250e37292b9679b82a3edc28f330a32eed9ae4.tar.xz
kernel-qcow2-linux-b6250e37292b9679b82a3edc28f330a32eed9ae4.zip
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/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,
#else
#define __swp_type(x) ((x).val & 0xff)
#define __swp_offset(x) ((x).val >> 10)
-#define __swp_entry(type, offset) ((swp_entry_t){(type) | (offset) <<10)})
+#define __swp_entry(type, offset) ((swp_entry_t){(type) | (offset) <<10})
#define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) >> 1 })
#define __swp_entry_to_pte(x) ((pte_t) { (x).val << 1 })