tree:   https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git WIP.hotplug
head:   0e5de16e9e45b4d853a31761fd74ff56998169a1
commit: 6b808294c6cbb28925fee0fedceb23196efbc367 [9/66] perf/x86: Convert the 
core to the hotplug state machine
config: x86_64-allyesconfig (attached as .config)
compiler: gcc-6 (Debian 6.1.1-1) 6.1.1 20160430
reproduce:
        git checkout 6b808294c6cbb28925fee0fedceb23196efbc367
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

   arch/x86/events/core.c: In function 'init_hw_perf_events':
>> arch/x86/events/core.c:1794:21: error: 'CPUHP_PERF_X86_ONLINE' undeclared 
>> (first use in this function)
     cpuhp_remove_state(CPUHP_PERF_X86_ONLINE);
                        ^~~~~~~~~~~~~~~~~~~~~
   arch/x86/events/core.c:1794:21: note: each undeclared identifier is reported 
only once for each function it appears in
>> arch/x86/events/core.c:1796:21: error: 'CPUHP_PERF_X86_STARTING' undeclared 
>> (first use in this function)
     cpuhp_remove_state(CPUHP_PERF_X86_STARTING);
                        ^~~~~~~~~~~~~~~~~~~~~~~

vim +/CPUHP_PERF_X86_ONLINE +1794 arch/x86/events/core.c

  1788          if (err)
  1789                  goto out2;
  1790  
  1791          return 0;
  1792  
  1793  out2:
> 1794          cpuhp_remove_state(CPUHP_PERF_X86_ONLINE);
  1795  out1:
> 1796          cpuhp_remove_state(CPUHP_PERF_X86_STARTING);
  1797  out:
  1798          cpuhp_remove_state(CPUHP_PERF_X86_PREPARE);
  1799          return err;

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: Binary data

Reply via email to