Re: [PATCH 04/11] sched,x86: Enable Turbo Boost Max Technology

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Tim,

[auto build test ERROR on pm/linux-next]
[also build test ERROR on v4.8-rc3 next-20160822]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
[Suggest to use git(>=2.9.0) format-patch --base=<commit> (or --base=auto for convenience) to record what (public, well-known) commit your patch series was built on]
[Check https://git-scm.com/docs/git-format-patch for more information]

url:    https://github.com/0day-ci/linux/commits/Srinivas-Pandruvada/Support-Intel-Turbo-Boost-Max-Technology-3-0/20160819-101955
base:   https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git linux-next
config: i386-allyesconfig (attached as .config)
compiler: gcc-6 (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
        # save the attached .config to linux build tree
        make ARCH=i386 

All errors (new ones prefixed by >>):

   In file included from arch/x86/include/asm/numa.h:6:0,
                    from arch/x86/include/asm/acpi.h:28,
                    from arch/x86/include/asm/fixmap.h:19,
                    from arch/x86/kernel/apic/apic_noop.c:18:
>> arch/x86/include/asm/topology.h:150:34: error: unknown type name 'sched_core_priority'
    DECLARE_PER_CPU_READ_MOSTLY(int, sched_core_priority);
                                     ^~~~~~~~~~~~~~~~~~~
   arch/x86/include/asm/topology.h: In function 'sched_asym_prefer':
>> arch/x86/include/asm/topology.h:154:9: error: implicit declaration of function 'per_cpu' [-Werror=implicit-function-declaration]
     return per_cpu(sched_core_priority, a) > per_cpu(sched_core_priority, b);
            ^~~~~~~
>> arch/x86/include/asm/topology.h:154:17: error: 'sched_core_priority' undeclared (first use in this function)
     return per_cpu(sched_core_priority, a) > per_cpu(sched_core_priority, b);
                    ^~~~~~~~~~~~~~~~~~~
   arch/x86/include/asm/topology.h:154:17: note: each undeclared identifier is reported only once for each function it appears in
   cc1: some warnings being treated as errors

vim +/sched_core_priority +150 arch/x86/include/asm/topology.h

   144	
   145	struct pci_bus;
   146	int x86_pci_root_bus_node(int bus);
   147	void x86_pci_root_bus_resources(int bus, struct list_head *resources);
   148	
   149	#ifdef CONFIG_SCHED_ITMT
 > 150	DECLARE_PER_CPU_READ_MOSTLY(int, sched_core_priority);
   151	
   152	static inline bool sched_asym_prefer(int a, int b)
   153	{
 > 154		return per_cpu(sched_core_priority, a) > per_cpu(sched_core_priority, b);
   155	}
   156	
   157	#define sched_asym_prefer sched_asym_prefer

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

Attachment: .config.gz
Description: Binary data


[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux