summaryrefslogtreecommitdiffstats
path: root/arch/nios2/include/asm/page.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/nios2/include/asm/page.h')
-rw-r--r--arch/nios2/include/asm/page.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/nios2/include/asm/page.h b/arch/nios2/include/asm/page.h
index 0ae7d9ce369b..0722f88e63cc 100644
--- a/arch/nios2/include/asm/page.h
+++ b/arch/nios2/include/asm/page.h
@@ -21,7 +21,7 @@
/*
* PAGE_SHIFT determines the page size
*/
-#define PAGE_SHIFT 12
+#define PAGE_SHIFT CONFIG_PAGE_SHIFT
#define PAGE_SIZE (_AC(1, UL) << PAGE_SHIFT)
#define PAGE_MASK (~(PAGE_SIZE - 1))