Commit 49883224f6665e2b056fc3e7325b3bba9d1ff2c4

Authored by Chris Zankel
1 parent b26d0ab0e6

[XTENSA] Fix argument list for pgd_ctor constructor.

The argument list  for ctor function element in the
kmem_cache structure has changed.

Signed-off-by: Chris Zankel <chris@zankel.net>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

arch/xtensa/mm/init.c
... ... @@ -309,7 +309,7 @@
309 309  
310 310 struct kmem_cache *pgtable_cache __read_mostly;
311 311  
312   -static void pgd_ctor(void *addr, struct kmem_cache *cache, unsigned long flags)
  312 +static void pgd_ctor(struct kmem_cache *cache, void* addr)
313 313 {
314 314 pte_t* ptep = (pte_t*)addr;
315 315 int i;