linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [mmotm:master 44/55] include/linux/sched.h:2703:20: error: redefinition of 'set_restore_sigmask'
@ 2016-08-03 23:55 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2016-08-03 23:55 UTC (permalink / raw)
  To: Andrew Morton
  Cc: kbuild-all, Linux Memory Management List, mmotm auto import,
	Johannes Weiner

[-- Attachment #1: Type: text/plain, Size: 4305 bytes --]

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@vger.kernel.org>
:::::: CC: Johannes Weiner <hannes@cmpxchg.org>

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

[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 46094 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-08-03 23:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-03 23:55 [mmotm:master 44/55] include/linux/sched.h:2703:20: error: redefinition of 'set_restore_sigmask' kbuild test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox