summaryrefslogtreecommitdiff
path: root/arch/mips/include/asm/page.h
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2016-01-24 04:14:40 +0100
committerRalf Baechle <ralf@linux-mips.org>2016-01-24 04:14:40 +0100
commit07d17f09691e549fac0101333eebe0161a472b50 (patch)
tree86c172dffff9804d31a515bd04a108f9d775b777 /arch/mips/include/asm/page.h
parentdbb983145312efba5f7928af1b180a0d83423150 (diff)
parent2549cc967ebb4043f3507b55e3dc579f44d3b516 (diff)
Merge branch '4.4-fixes' into mips-for-linux-next
Diffstat (limited to 'arch/mips/include/asm/page.h')
-rw-r--r--arch/mips/include/asm/page.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/include/asm/page.h b/arch/mips/include/asm/page.h
index 2046c0230224..21ed7150fec3 100644
--- a/arch/mips/include/asm/page.h
+++ b/arch/mips/include/asm/page.h
@@ -33,7 +33,7 @@
#define PAGE_SHIFT 16
#endif
#define PAGE_SIZE (_AC(1,UL) << PAGE_SHIFT)
-#define PAGE_MASK (~(PAGE_SIZE - 1))
+#define PAGE_MASK (~((1 << PAGE_SHIFT) - 1))
/*
* This is used for calculating the real page sizes