[XTENSA] Fix argument list for pgd_ctor constructor.
[safe/jmp/linux-2.6] / arch / xtensa / mm / init.c
index b3086f3..81d0560 100644 (file)
@@ -309,7 +309,7 @@ void show_mem(void)
 
 struct kmem_cache *pgtable_cache __read_mostly;
 
-static void pgd_ctor(void *addr, struct kmem_cache *cache, unsigned long flags)
+static void pgd_ctor(struct kmem_cache *cache, void* addr)
 {
        pte_t* ptep = (pte_t*)addr;
        int i;