aboutsummaryrefslogtreecommitdiffstats
path: root/arch/score
diff options
context:
space:
mode:
authorTim Abbott <tabbott@ksplice.com>2009-09-20 13:32:57 -0400
committerChen Liqin <liqin.chen@sunplusct.com>2009-09-23 13:35:51 +0800
commitaa296ddf32da207b430f61b77a8e81c0663f07cf (patch)
treea401b3e28cfd6c62f8eb38d10a0b0c7f9634869c /arch/score
parentMerge branch 'perf-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip (diff)
downloadlinux-dev-aa296ddf32da207b430f61b77a8e81c0663f07cf.tar.xz
linux-dev-aa296ddf32da207b430f61b77a8e81c0663f07cf.zip
score: Make PAGE_SIZE available to assembly.
Signed-off-by: Tim Abbott <tabbott@ksplice.com> Acked-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'arch/score')
-rw-r--r--arch/score/include/asm/page.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/score/include/asm/page.h b/arch/score/include/asm/page.h
index ee5821042fcc..d92a5a2d36d4 100644
--- a/arch/score/include/asm/page.h
+++ b/arch/score/include/asm/page.h
@@ -2,10 +2,11 @@
#define _ASM_SCORE_PAGE_H
#include <linux/pfn.h>
+#include <linux/const.h>
/* PAGE_SHIFT determines the page size */
#define PAGE_SHIFT (12)
-#define PAGE_SIZE (1UL << PAGE_SHIFT)
+#define PAGE_SIZE (_AC(1,UL) << PAGE_SHIFT)
#define PAGE_MASK (~(PAGE_SIZE-1))
#ifdef __KERNEL__