summaryrefslogtreecommitdiff
path: root/arch/m68k
diff options
context:
space:
mode:
authorTim Abbott <tabbott@ksplice.com>2009-09-07 17:26:49 +1000
committerGreg Ungerer <gerg@uclinux.org>2009-09-16 09:43:57 +1000
commit2985709d7f3078c7609ae7f16affc0fb478d7d7a (patch)
tree26ab2bf000bd6a251ae6ab13eaeb9e214199b968 /arch/m68k
parent2756730b798e4f1f8343cf034c33cc730ae3a5d4 (diff)
downloadlinux-3.10-2985709d7f3078c7609ae7f16affc0fb478d7d7a.tar.gz
linux-3.10-2985709d7f3078c7609ae7f16affc0fb478d7d7a.tar.bz2
linux-3.10-2985709d7f3078c7609ae7f16affc0fb478d7d7a.zip
m68knommu: Make PAGE_SIZE available to assembly files.
Signed-off-by: Tim Abbott <tabbott@ksplice.com> Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Diffstat (limited to 'arch/m68k')
-rw-r--r--arch/m68k/include/asm/page_no.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/m68k/include/asm/page_no.h b/arch/m68k/include/asm/page_no.h
index 9aa3f90f485..1f31b060cc8 100644
--- a/arch/m68k/include/asm/page_no.h
+++ b/arch/m68k/include/asm/page_no.h
@@ -1,10 +1,12 @@
#ifndef _M68KNOMMU_PAGE_H
#define _M68KNOMMU_PAGE_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))
#include <asm/setup.h>