X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=include%2Fasm-cris%2Fpage.h;h=c45bb1ef397cb3466c2d836f8fc1679ba69d4a9d;hb=08acd4f8af42affd8cbed81cc1b69fa12ddb213f;hp=b84353ef6998459ccf3b40da3777254cadcfe1fe;hpb=75659ca0c10992dcb39258518368a0f6f56e935d;p=firefly-linux-kernel-4.4.55.git diff --git a/include/asm-cris/page.h b/include/asm-cris/page.h index b84353ef6998..c45bb1ef397c 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 */