linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [memcg:down_write_killable-core-4.5-merge 11/12] arch/x86/include/asm/rwsem.h:106:2: error: 'asm' operand has impossible constraints
@ 2016-04-17  2:42 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2016-04-17  2:42 UTC (permalink / raw)
  To: Michal Hocko; +Cc: kbuild-all, linux-mm

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/mhocko/mm.git down_write_killable-core-4.5-merge
head:   2abae317b1c05a462762da079706a9222c99209f
commit: b5e50bccc40edf01218784bd14a6f9c2222b638b [11/12] locking, rwsem: provide down_write_killable
config: i386-randconfig-x0-04170940 (attached as .config)
reproduce:
        git checkout b5e50bccc40edf01218784bd14a6f9c2222b638b
        # save the attached .config to linux build tree
        make ARCH=i386 

All errors (new ones prefixed by >>):

   In file included from include/linux/rwsem.h:52:0,
                    from include/linux/mm_types.h:10,
                    from include/linux/sched.h:27,
                    from kernel/locking/rwsem.c:9:
   kernel/locking/rwsem.c: In function 'down_write_killable':
>> arch/x86/include/asm/rwsem.h:106:2: error: 'asm' operand has impossible constraints
     asm volatile("# beginning down_write\n\t" \
     ^
   arch/x86/include/asm/rwsem.h:128:13: note: in expansion of macro '____down_write'
     if (IS_ERR(____down_write(sem, "call_rwsem_down_write_failed_killable")))
                ^

vim +/asm +106 arch/x86/include/asm/rwsem.h

^1da177e include/asm-i386/rwsem.h     Linus Torvalds 2005-04-16  100   * lock for writing
^1da177e include/asm-i386/rwsem.h     Linus Torvalds 2005-04-16  101   */
fae51f6c arch/x86/include/asm/rwsem.h Michal Hocko   2016-02-01  102  #define ____down_write(sem, slow_path)			\
fae51f6c arch/x86/include/asm/rwsem.h Michal Hocko   2016-02-01  103  ({							\
fae51f6c arch/x86/include/asm/rwsem.h Michal Hocko   2016-02-01  104  	long tmp;					\
fae51f6c arch/x86/include/asm/rwsem.h Michal Hocko   2016-02-01  105  	struct rw_semaphore* ret = sem;			\
fae51f6c arch/x86/include/asm/rwsem.h Michal Hocko   2016-02-01 @106  	asm volatile("# beginning down_write\n\t"	\
fae51f6c arch/x86/include/asm/rwsem.h Michal Hocko   2016-02-01  107  		     LOCK_PREFIX "  xadd      %1,(%2)\n\t"	\
fae51f6c arch/x86/include/asm/rwsem.h Michal Hocko   2016-02-01  108  		     /* adds 0xffff0001, returns the old value */ \
fae51f6c arch/x86/include/asm/rwsem.h Michal Hocko   2016-02-01  109  		     "  test " __ASM_SEL(%w1,%k1) "," __ASM_SEL(%w1,%k1) "\n\t" \

:::::: The code at line 106 was first introduced by commit
:::::: fae51f6cba6ec620af820033d4feecb075a11909 x86, rwsem: provide __down_write_killable

:::::: TO: Michal Hocko <mhocko@suse.com>
:::::: CC: Michal Hocko <mhocko@suse.com>

---
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: 19480 bytes --]

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

only message in thread, other threads:[~2016-04-17  2:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-17  2:42 [memcg:down_write_killable-core-4.5-merge 11/12] arch/x86/include/asm/rwsem.h:106:2: error: 'asm' operand has impossible constraints 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