[vfs:asm-exports 7/7] arch/powerpc/kernel/setup_32.c:52:15: error: 'swp_hw_index' undeclared here (not in a function)

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

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git asm-exports
head:   6d80296c510eb7c894a47545bb123764a9ba0b52
commit: 6d80296c510eb7c894a47545bb123764a9ba0b52 [7/7] ppc: move exports to definitions
config: powerpc-virtex5_defconfig (attached as .config)
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 6d80296c510eb7c894a47545bb123764a9ba0b52
        # save the attached .config to linux build tree
        make.cross ARCH=powerpc 

All error/warnings (new ones prefixed by >>):

   In file included from include/linux/linkage.h:6:0,
                    from include/linux/kernel.h:6,
                    from include/linux/list.h:8,
                    from include/linux/module.h:9,
                    from arch/powerpc/kernel/setup_32.c:5:
>> arch/powerpc/kernel/setup_32.c:52:15: error: 'swp_hw_index' undeclared here (not in a function)
    EXPORT_SYMBOL(swp_hw_index);
                  ^
   include/linux/export.h:57:16: note: in definition of macro '__EXPORT_SYMBOL'
     extern typeof(sym) sym;     \
                   ^
>> arch/powerpc/kernel/setup_32.c:52:1: note: in expansion of macro 'EXPORT_SYMBOL'
    EXPORT_SYMBOL(swp_hw_index);
    ^

vim +/swp_hw_index +52 arch/powerpc/kernel/setup_32.c

    46	extern void bootx_init(unsigned long r4, unsigned long phys);
    47	
    48	int boot_cpuid_phys;
    49	EXPORT_SYMBOL_GPL(boot_cpuid_phys);
    50	
    51	int smp_hw_index[NR_CPUS];
  > 52	EXPORT_SYMBOL(swp_hw_index);
    53	
    54	unsigned long ISA_DMA_THRESHOLD;
    55	unsigned int DMA_MODE_READ;

---
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 Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux