[mmotm:master 44/55] include/linux/sched.h:2703:20: error: redefinition of 'set_restore_sigmask'

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

 



tree:   git://git.cmpxchg.org/linux-mmotm.git master
head:   63590ec778a26c4d4778dbf2012508eceec63ff8
commit: b5e3513f11631e68d0890d3fae80711710861981 [44/55] linux-next-git-rejects
config: xtensa-allyesconfig (attached as .config)
compiler: xtensa-linux-gcc (GCC) 4.9.0
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 b5e3513f11631e68d0890d3fae80711710861981
        # save the attached .config to linux build tree
        make.cross ARCH=xtensa 

All errors (new ones prefixed by >>):

   In file included from include/linux/ptrace.h:5:0,
                    from arch/xtensa/kernel/asm-offsets.c:21:
>> include/linux/sched.h:2703:20: error: redefinition of 'set_restore_sigmask'
    static inline void set_restore_sigmask(void)
                       ^
   In file included from arch/xtensa/kernel/asm-offsets.c:20:0:
   include/linux/thread_info.h:126:20: note: previous definition of 'set_restore_sigmask' was here
    static inline void set_restore_sigmask(void)
                       ^
   In file included from include/linux/ptrace.h:5:0,
                    from arch/xtensa/kernel/asm-offsets.c:21:
   include/linux/sched.h:2708:20: error: redefinition of 'clear_restore_sigmask'
    static inline void clear_restore_sigmask(void)
                       ^
   In file included from arch/xtensa/kernel/asm-offsets.c:20:0:
   include/linux/thread_info.h:131:20: note: previous definition of 'clear_restore_sigmask' was here
    static inline void clear_restore_sigmask(void)
                       ^
   In file included from include/linux/ptrace.h:5:0,
                    from arch/xtensa/kernel/asm-offsets.c:21:
   include/linux/sched.h:2712:20: error: redefinition of 'test_restore_sigmask'
    static inline bool test_restore_sigmask(void)
                       ^
   In file included from arch/xtensa/kernel/asm-offsets.c:20:0:
   include/linux/thread_info.h:135:20: note: previous definition of 'test_restore_sigmask' was here
    static inline bool test_restore_sigmask(void)
                       ^
   In file included from include/linux/ptrace.h:5:0,
                    from arch/xtensa/kernel/asm-offsets.c:21:
   include/linux/sched.h:2716:20: error: redefinition of 'test_and_clear_restore_sigmask'
    static inline bool test_and_clear_restore_sigmask(void)
                       ^
   In file included from arch/xtensa/kernel/asm-offsets.c:20:0:
   include/linux/thread_info.h:139:20: note: previous definition of 'test_and_clear_restore_sigmask' was here
    static inline bool test_and_clear_restore_sigmask(void)
                       ^
   make[2]: *** [arch/xtensa/kernel/asm-offsets.s] Error 1
   make[2]: Target '__build' not remade because of errors.
   make[1]: *** [prepare0] Error 2
   make[1]: Target 'prepare' not remade because of errors.
   make: *** [sub-make] Error 2

vim +/set_restore_sigmask +2703 include/linux/sched.h

621879ca mmotm auto import 2016-08-03  2697   * all callers, TIF_SIGPENDING is already set or it's no harm to set
621879ca mmotm auto import 2016-08-03  2698   * it.  TIF_RESTORE_SIGMASK need not be in the set of bits that the
621879ca mmotm auto import 2016-08-03  2699   * arch code will notice on return to user mode, in case those bits
621879ca mmotm auto import 2016-08-03  2700   * are scarce.  We set TIF_SIGPENDING here to ensure that the arch
621879ca mmotm auto import 2016-08-03  2701   * signal code always gets run when TIF_RESTORE_SIGMASK is set.
621879ca mmotm auto import 2016-08-03  2702   */
621879ca mmotm auto import 2016-08-03 @2703  static inline void set_restore_sigmask(void)
621879ca mmotm auto import 2016-08-03  2704  {
621879ca mmotm auto import 2016-08-03  2705  	set_thread_flag(TIF_RESTORE_SIGMASK);
621879ca mmotm auto import 2016-08-03  2706  	WARN_ON(!test_thread_flag(TIF_SIGPENDING));

:::::: The code at line 2703 was first introduced by commit
:::::: 621879ca98fb66cda5d1c4f9bb67cc077ae7e3ea origin

:::::: TO: mmotm auto import <mm-commits@xxxxxxxxxxxxxxx>
:::::: CC: Johannes Weiner <hannes@xxxxxxxxxxx>

---
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 ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]