X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=include%2Fasm-cris%2Fpage.h;h=c45bb1ef397cb3466c2d836f8fc1679ba69d4a9d;hb=45aec1ae72fc592f231e9e73ed9ed4d10cfbc0b5;hp=b84353ef6998459ccf3b40da3777254cadcfe1fe;hpb=30472908d50cf726a68c2b444127a1dafae8a91c;p=linux-2.6-omap-h63xx.git diff --git a/include/asm-cris/page.h b/include/asm-cris/page.h index b84353ef699..c45bb1ef397 100644 --- a/include/asm-cris/page.h +++ b/include/asm-cris/page.h @@ -1,8 +1,6 @@ #ifndef _CRIS_PAGE_H #define _CRIS_PAGE_H -#ifdef __KERNEL__ - #include #include @@ -28,6 +26,7 @@ typedef struct { unsigned long pte; } pte_t; typedef struct { unsigned long pgd; } pgd_t; typedef struct { unsigned long pgprot; } pgprot_t; +typedef struct page *pgtable_t; #endif #define pte_val(x) ((x).pte) @@ -74,7 +73,5 @@ typedef struct { unsigned long pgprot; } pgprot_t; #include #include -#endif /* __KERNEL__ */ - #endif /* _CRIS_PAGE_H */