]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-cris/page.h
KVM: ia64: Add intel iommu support for guests.
[linux-2.6-omap-h63xx.git] / include / asm-cris / page.h
index 3b0156c4631107dc91dc13dd86468f2dff2c91ca..d19272ba6b696d659c1e14643e86445c135aeb92 100644 (file)
@@ -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__ */