summaryrefslogtreecommitdiff
path: root/kernel/padata.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/padata.c')
-rw-r--r--kernel/padata.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/kernel/padata.c b/kernel/padata.c
index 0af32c78ea69..8657e6e0c224 100644
--- a/kernel/padata.c
+++ b/kernel/padata.c
@@ -1106,8 +1106,7 @@ void __init padata_init(void)
#endif
possible_cpus = num_possible_cpus();
- padata_works = kmalloc_objs(struct padata_work, possible_cpus,
- GFP_KERNEL);
+ padata_works = kmalloc_objs(struct padata_work, possible_cpus);
if (!padata_works)
goto remove_dead_state;