X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fasm-m68knommu%2Fpage.h;h=385a34701e74fbd46ce9b268480eaa45bef3a195;hb=refs%2Fremotes%2Fvserver;hp=942dfbead27fa8f80a403b03420aa0543c294da4;hpb=76828883507a47dae78837ab5dec5a5b4513c667;p=linux-2.6.git diff --git a/include/asm-m68knommu/page.h b/include/asm-m68knommu/page.h index 942dfbead..385a34701 100644 --- a/include/asm-m68knommu/page.h +++ b/include/asm-m68knommu/page.h @@ -1,7 +1,7 @@ #ifndef _M68KNOMMU_PAGE_H #define _M68KNOMMU_PAGE_H -#include +#ifdef __KERNEL__ /* PAGE_SHIFT determines the page size */ @@ -9,8 +9,6 @@ #define PAGE_SIZE (1UL << PAGE_SHIFT) #define PAGE_MASK (~(PAGE_SIZE-1)) -#ifdef __KERNEL__ - #include #ifndef __ASSEMBLY__ @@ -77,8 +75,10 @@ extern unsigned long memory_end; #endif /* __ASSEMBLY__ */ -#endif /* __KERNEL__ */ - #include +#define devmem_is_allowed(x) 1 + +#endif /* __KERNEL__ */ + #endif /* _M68KNOMMU_PAGE_H */