]> Pileus Git - ~andy/linux/commitdiff
[XTENSA] Fix non-existent pte_token_t typedef to pgtable_t
authorChris Zankel <chris@zankel.net>
Thu, 14 Feb 2008 00:25:09 +0000 (16:25 -0800)
committerChris Zankel <chris@zankel.net>
Thu, 14 Feb 2008 00:25:09 +0000 (16:25 -0800)
This bug was introduced in 2f569afd9ced9ebec9a6eb3dbf6f83429be0a7b4.
(CONFIG_HIGHPTE vs. sub-page page tables)

Signed-off-by: Chris Zankel <chris@zankel.net>
include/asm-xtensa/pgalloc.h

index 8d1544eb461ebfa13b3cd352786ba2af6fcf077e..4f4a7987eded7087251550e37204f227e293587e 100644 (file)
@@ -47,7 +47,7 @@ static inline pte_t *pte_alloc_one_kernel(struct mm_struct *mm,
        return kmem_cache_alloc(pgtable_cache, GFP_KERNEL|__GFP_REPEAT);
 }
 
-static inline pte_token_t pte_alloc_one(struct mm_struct *mm,
+static inline pgtable_t pte_alloc_one(struct mm_struct *mm,
                                        unsigned long addr)
 {
        struct page *page;