diff options
author | Chris Zankel <chris@zankel.net> | 2007-11-14 22:39:40 +0100 |
---|---|---|
committer | Chris Zankel <chris@zankel.net> | 2008-02-14 01:54:12 +0100 |
commit | 49883224f6665e2b056fc3e7325b3bba9d1ff2c4 (patch) | |
tree | 566b6d00f6013a51444ad00d16d47e9f662efcce | |
parent | [XTENSA] Concentrate platforms into one platforms directory. (diff) | |
download | linux-49883224f6665e2b056fc3e7325b3bba9d1ff2c4.tar.xz linux-49883224f6665e2b056fc3e7325b3bba9d1ff2c4.zip |
[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) 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; |