X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=include%2Fasm-alpha%2Fpage.h;h=d2bed3cb33ff106309d297afe747cf73513276fd;hb=576b3ef2495c732a56509febd5de5144f3ebccf6;hp=61bcf70b5eac66852a19e47fe61fb07c07b1a953;hpb=d1127e40e8d75cd3855e35424937c73d0bcec558;p=linux-2.6-omap-h63xx.git diff --git a/include/asm-alpha/page.h b/include/asm-alpha/page.h index 61bcf70b5ea..d2bed3cb33f 100644 --- a/include/asm-alpha/page.h +++ b/include/asm-alpha/page.h @@ -1,7 +1,8 @@ #ifndef _ALPHA_PAGE_H #define _ALPHA_PAGE_H -#include +#ifdef __KERNEL__ + #include /* PAGE_SHIFT determines the page size */ @@ -9,8 +10,6 @@ #define PAGE_SIZE (1UL << PAGE_SHIFT) #define PAGE_MASK (~(PAGE_SIZE-1)) -#ifdef __KERNEL__ - #ifndef __ASSEMBLY__ #define STRICT_MM_TYPECHECKS @@ -93,9 +92,9 @@ typedef unsigned long pgprot_t; #define VM_DATA_DEFAULT_FLAGS (VM_READ | VM_WRITE | VM_EXEC | \ VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC) -#endif /* __KERNEL__ */ #include #include +#endif /* __KERNEL__ */ #endif /* _ALPHA_PAGE_H */