lxip: return zero-initialized memory in '__alloc_percpu()'

This commit is contained in:
Christian Prochaska 2017-02-09 14:16:15 +01:00 committed by Norman Feske
parent 59f38fe38c
commit 2d700d0b2d

View File

@ -91,7 +91,7 @@ unsigned long get_zeroed_page(gfp_t gfp_mask)
void *__alloc_percpu(size_t size, size_t align)
{
return kmalloc(size, 0);
return kzalloc(size, 0);
}