summaryrefslogtreecommitdiffstats
path: root/include/asm-xtensa
diff options
context:
space:
mode:
authorChris Zankel <chris@zankel.net>2008-02-14 01:25:09 +0100
committerChris Zankel <chris@zankel.net>2008-02-14 01:25:09 +0100
commite584d85fb1cba2b08c266348b58eb4a881a88b40 (patch)
tree3fecd06c21963780abe7b1c6dddfcef7fd443861 /include/asm-xtensa
parent[XTENSA] Remove dead code reported by Robert P. J. Day. (diff)
downloadlinux-e584d85fb1cba2b08c266348b58eb4a881a88b40.tar.xz
linux-e584d85fb1cba2b08c266348b58eb4a881a88b40.zip
[XTENSA] Fix non-existent pte_token_t typedef to pgtable_t
This bug was introduced in 2f569afd9ced9ebec9a6eb3dbf6f83429be0a7b4. (CONFIG_HIGHPTE vs. sub-page page tables) Signed-off-by: Chris Zankel <chris@zankel.net>
Diffstat (limited to 'include/asm-xtensa')
-rw-r--r--include/asm-xtensa/pgalloc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-xtensa/pgalloc.h b/include/asm-xtensa/pgalloc.h
index 8d1544eb461e..4f4a7987eded 100644
--- a/include/asm-xtensa/pgalloc.h
+++ b/include/asm-xtensa/pgalloc.h
@@ -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;