X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;ds=sidebyside;f=include%2Fasm-m68k%2Fpage.h;fp=include%2Fasm-m68k%2Fpage.h;h=f4c883b22b6945fdd93c6f9b39bd9282b8ae9895;hb=16c70f8c1b54b61c3b951b6fb220df250fe09b32;hp=3725c9bd9842522e1ec6664c275a7653a01616e2;hpb=4e76c8a9fa413ccc09d3f7f664183dcce3555d57;p=linux-2.6.git diff --git a/include/asm-m68k/page.h b/include/asm-m68k/page.h index 3725c9bd9..f4c883b22 100644 --- a/include/asm-m68k/page.h +++ b/include/asm-m68k/page.h @@ -1,7 +1,8 @@ #ifndef _M68K_PAGE_H #define _M68K_PAGE_H -#include + +#ifdef __KERNEL__ /* PAGE_SHIFT determines the page size */ #ifndef CONFIG_SUN3 @@ -16,8 +17,6 @@ #endif #define PAGE_MASK (~(PAGE_SIZE-1)) -#ifdef __KERNEL__ - #include #if PAGE_SHIFT < 13 @@ -176,10 +175,10 @@ static inline void *__va(unsigned long x) #define VM_DATA_DEFAULT_FLAGS (VM_READ | VM_WRITE | VM_EXEC | \ VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC) +#include + #define devmem_is_allowed(x) 1 #endif /* __KERNEL__ */ -#include - #endif /* _M68K_PAGE_H */