Re: [tip:smp/hotplug 15/27] kernel/cpu.c:1282:3: error: 'CPUHP_SLAB_PREPARE' undeclared here (not in a function)

From: Sebastian Andrzej Siewior
Date: Tue Sep 06 2016 - 12:13:39 EST


On 2016-09-07 00:08:04 [+0800], kbuild test robot wrote:
> kernel/cpu.c:1277:26: note: (near initialization for 'cpuhp_bp_states[19]')
> >> kernel/cpu.c:1282:3: error: 'CPUHP_SLAB_PREPARE' undeclared here (not in a function)
> [CPUHP_SLAB_PREPARE] = {
> ^~~~~~~~~~~~~~~~~~

The
include/linux/cpuhotplug.h | 1 +

went missing from the original patch.

Sebastian