X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=include%2Fasm-cris%2Fpage.h;h=c45bb1ef397cb3466c2d836f8fc1679ba69d4a9d;hb=ec31b2124158f60c515ed84bd5e40db1a883c7b6;hp=b84353ef6998459ccf3b40da3777254cadcfe1fe;hpb=eba0e319c12fb098d66316a8eafbaaa9174a07c3;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 */