diff --git a/kernel/smpboot.c b/kernel/smpboot.c index 7020eecb398b..bd4320479d29 100644 --- a/kernel/smpboot.c +++ b/kernel/smpboot.c @@ -12,6 +12,7 @@ #include #include #include +#include #include "smpboot.h" @@ -174,6 +175,8 @@ __smpboot_create_thread(struct smp_hotplug_thread *ht, unsigned int cpu) td = kzalloc_node(sizeof(*td), GFP_KERNEL, cpu_to_node(cpu)); if (!td) return -ENOMEM; + + kmemleak_not_leak(td); td->cpu = cpu; td->ht = ht;