aboutsummaryrefslogtreecommitdiff
path: root/include/asm-alpha/page.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-alpha/page.h')
-rw-r--r--include/asm-alpha/page.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/asm-alpha/page.h b/include/asm-alpha/page.h
index bae7f05716d..8cc97bfd378 100644
--- a/include/asm-alpha/page.h
+++ b/include/asm-alpha/page.h
@@ -3,11 +3,12 @@
#ifdef __KERNEL__
+#include <linux/const.h>
#include <asm/pal.h>
/* PAGE_SHIFT determines the page size */
#define PAGE_SHIFT 13
-#define PAGE_SIZE (1UL << PAGE_SHIFT)
+#define PAGE_SIZE (_AC(1,UL) << PAGE_SHIFT)
#define PAGE_MASK (~(PAGE_SIZE-1))
#ifndef __ASSEMBLY__