Skip to content

Commit

Permalink
[XTENSA] Fix argument list for pgd_ctor constructor.
Browse files Browse the repository at this point in the history
The argument list  for ctor function element in the
kmem_cache structure has changed.

Signed-off-by: Chris Zankel <chris@zankel.net>
  • Loading branch information
czankel committed Feb 14, 2008
1 parent b26d0ab commit 4988322
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/xtensa/mm/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 4988322

Please sign in to comment.