aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/percpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/percpu.h')
-rw-r--r--include/linux/percpu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/percpu.h b/include/linux/percpu.h
index 910beb0abea2..d8e5a9abbce0 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)
157 * percpu sections on SMP for which this path isn't used. 157 * percpu sections on SMP for which this path isn't used.
158 */ 158 */
159 WARN_ON_ONCE(align > __alignof__(unsigned long long)); 159 WARN_ON_ONCE(align > __alignof__(unsigned long long));
160 return kzalloc(size, gfp); 160 return kzalloc(size, GFP_KERNEL);
161} 161}
162 162
163static inline void free_percpu(void *p) 163static inline void free_percpu(void *p)