summaryrefslogtreecommitdiffstats
path: root/include/asm-parisc
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2007-10-18 00:04:34 -0700
committerKyle McMartin <kyle@shortfin.cabal.ca>2007-10-18 00:59:15 -0700
commit1c593571093ae0f259d3bd7a66988a7a8eb5c7bc (patch)
tree0ce48386ab6e2752145dba8fa81bc5440eda0118 /include/asm-parisc
parentbe1b3d8cb141c0705d61af2e2372d72ff16c7d04 (diff)
downloadblackbird-op-linux-1c593571093ae0f259d3bd7a66988a7a8eb5c7bc.tar.gz
blackbird-op-linux-1c593571093ae0f259d3bd7a66988a7a8eb5c7bc.zip
[PARISC] Kill off ASM_PAGE_SIZE use
We have the macro _AC() generally available now so the calculation of PAGE_SIZE can be made assembler compatible. Introduce use of _AC() and kill all users of ASM_PAGE_SIZE. Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: Kyle McMartin <kyle@mcmartin.ca>
Diffstat (limited to 'include/asm-parisc')
-rw-r--r--include/asm-parisc/page.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/asm-parisc/page.h b/include/asm-parisc/page.h
index f6bba4c13664..b59a1504fc7a 100644
--- a/include/asm-parisc/page.h
+++ b/include/asm-parisc/page.h
@@ -3,6 +3,8 @@
#ifdef __KERNEL__
+#include <linux/const.h>
+
#if defined(CONFIG_PARISC_PAGE_SIZE_4KB)
# define PAGE_SHIFT 12
#elif defined(CONFIG_PARISC_PAGE_SIZE_16KB)
@@ -12,7 +14,7 @@
#else
# error "unknown default kernel page size"
#endif
-#define PAGE_SIZE (1UL << PAGE_SHIFT)
+#define PAGE_SIZE (_AC(1,UL) << PAGE_SHIFT)
#define PAGE_MASK (~(PAGE_SIZE-1))
OpenPOWER on IntegriCloud