X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fasm-m68k%2Fpage.h;h=3725c9bd9842522e1ec6664c275a7653a01616e2;hb=9464c7cf61b9433057924c36e6e02f303a00e768;hp=f4c883b22b6945fdd93c6f9b39bd9282b8ae9895;hpb=41689045f6a3cbe0550e1d34e9cc20d2e8c432ba;p=linux-2.6.git diff --git a/include/asm-m68k/page.h b/include/asm-m68k/page.h index f4c883b22..3725c9bd9 100644 --- a/include/asm-m68k/page.h +++ b/include/asm-m68k/page.h @@ -1,8 +1,7 @@ #ifndef _M68K_PAGE_H #define _M68K_PAGE_H - -#ifdef __KERNEL__ +#include /* PAGE_SHIFT determines the page size */ #ifndef CONFIG_SUN3 @@ -17,6 +16,8 @@ #endif #define PAGE_MASK (~(PAGE_SIZE-1)) +#ifdef __KERNEL__ + #include #if PAGE_SHIFT < 13 @@ -175,10 +176,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 */