Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1477587

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

From Thomas Gleixner <tglx@linutronix.de>
Newsgroups linux.kernel
Subject Re: [tip:smp/hotplug 15/27] kernel/cpu.c:1282:3: error: 'CPUHP_SLAB_PREPARE' undeclared here (not in a function)
Date 2016-09-06 18:30 +0200
Message-ID <serq2-4mn-11@gated-at.bofh.it> (permalink)
References <ser6H-4cc-35@gated-at.bofh.it> <sergl-4jl-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, 6 Sep 2016, Sebastian Andrzej Siewior wrote:

> 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 +

Indeed. And I did not notice because it compiled with CONFIG_SMP=n. Duh!

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[tip:smp/hotplug 15/27] kernel/cpu.c:1282:3: error:  'CPUHP_SLAB_PREPARE' undeclared here (not in a function) kbuild test robot <fengguang.wu@intel.com> - 2016-09-06 18:10 +0200
  Re: [tip:smp/hotplug 15/27] kernel/cpu.c:1282:3: error:  'CPUHP_SLAB_PREPARE' undeclared here (not in a function) Sebastian Andrzej Siewior <bigeasy@linutronix.de> - 2016-09-06 18:20 +0200
    Re: [tip:smp/hotplug 15/27] kernel/cpu.c:1282:3: error: 'CPUHP_SLAB_PREPARE'  undeclared here (not in a function) Thomas Gleixner <tglx@linutronix.de> - 2016-09-06 18:30 +0200

csiph-web