diff --git a/include/linux/percpu.h b/include/linux/percpu.h index 910beb0abea23769064a675c9013037b42c6a4fb..d8e5a9abbce0d48fea3aa0f445fe676633574494 100644 --- a/include/linux/percpu.h +++ b/include/linux/percpu.h @@ -157,7 +157,7 @@ static inline void *__alloc_percpu(size_t size, size_t align) * percpu sections on SMP for which this path isn't used. */ WARN_ON_ONCE(align > __alignof__(unsigned long long)); - return kzalloc(size, gfp); + return kzalloc(size, GFP_KERNEL); } static inline void free_percpu(void *p)