aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/mm/hugetlbpage.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/mm/hugetlbpage.c')
-rw-r--r--arch/powerpc/mm/hugetlbpage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/mm/hugetlbpage.c b/arch/powerpc/mm/hugetlbpage.c
index 08f0d9ff7712..71efb38d599b 100644
--- a/arch/powerpc/mm/hugetlbpage.c
+++ b/arch/powerpc/mm/hugetlbpage.c
@@ -526,7 +526,7 @@ repeat:
526 return err; 526 return err;
527} 527}
528 528
529static void zero_ctor(void *addr, struct kmem_cache *cache, unsigned long flags) 529static void zero_ctor(struct kmem_cache *cache, void *addr)
530{ 530{
531 memset(addr, 0, kmem_cache_size(cache)); 531 memset(addr, 0, kmem_cache_size(cache));
532} 532}