summaryrefslogtreecommitdiffstats
path: root/arch/xtensa
diff options
context:
space:
mode:
authorChris Zankel <chris@zankel.net>2007-11-14 13:39:40 -0800
committerChris Zankel <chris@zankel.net>2008-02-13 16:54:12 -0800
commit49883224f6665e2b056fc3e7325b3bba9d1ff2c4 (patch)
tree566b6d00f6013a51444ad00d16d47e9f662efcce /arch/xtensa
parentb26d0ab0e6fa3a886d2799bf89eb05dd52f8b7c2 (diff)
downloadlinux-49883224f6665e2b056fc3e7325b3bba9d1ff2c4.tar.gz
linux-49883224f6665e2b056fc3e7325b3bba9d1ff2c4.tar.bz2
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>
Diffstat (limited to 'arch/xtensa')
-rw-r--r--arch/xtensa/mm/init.c2
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;