X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Fasm-cris%2Fpage.h;h=d19272ba6b696d659c1e14643e86445c135aeb92;hb=04a0551c87363f100b04d28d7a15a632b70e18e7;hp=3b0156c4631107dc91dc13dd86468f2dff2c91ca;hpb=516c25a86f6bdad77ded01a43c52c5569c8d690c;p=linux-2.6 diff --git a/include/asm-cris/page.h b/include/asm-cris/page.h index 3b0156c463..d19272ba6b 100644 --- a/include/asm-cris/page.h +++ b/include/asm-cris/page.h @@ -26,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) @@ -59,9 +60,6 @@ typedef struct { unsigned long pgprot; } pgprot_t; #define page_to_phys(page) __pa((((page) - mem_map) << PAGE_SHIFT) + PAGE_OFFSET) -/* to align the pointer to the (next) page boundary */ -#define PAGE_ALIGN(addr) (((addr)+PAGE_SIZE-1)&PAGE_MASK) - #ifndef __ASSEMBLY__ #endif /* __ASSEMBLY__ */