From 2985709d7f3078c7609ae7f16affc0fb478d7d7a Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Mon, 7 Sep 2009 17:26:49 +1000 Subject: m68knommu: Make PAGE_SIZE available to assembly files. Signed-off-by: Tim Abbott Signed-off-by: Greg Ungerer --- arch/m68k/include/asm/page_no.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'arch/m68k/include') 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 + /* 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 -- cgit v1.2.3-18-g5258