diff options
author | Chris Zankel <chris@zankel.net> | 2007-11-14 16:39:40 -0500 |
---|---|---|
committer | Chris Zankel <chris@zankel.net> | 2008-02-13 19:54:12 -0500 |
commit | 49883224f6665e2b056fc3e7325b3bba9d1ff2c4 (patch) | |
tree | 566b6d00f6013a51444ad00d16d47e9f662efcce | |
parent | b26d0ab0e6fa3a886d2799bf89eb05dd52f8b7c2 (diff) |
[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>
-rw-r--r-- | arch/xtensa/mm/init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/xtensa/mm/init.c b/arch/xtensa/mm/init.c index b3086f34a8e7..81d0560eaea2 100644 --- a/arch/xtensa/mm/init.c +++ b/arch/xtensa/mm/init.c | |||
@@ -309,7 +309,7 @@ void show_mem(void) | |||
309 | 309 | ||
310 | struct kmem_cache *pgtable_cache __read_mostly; | 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 | pte_t* ptep = (pte_t*)addr; | 314 | pte_t* ptep = (pte_t*)addr; |
315 | int i; | 315 | int i; |