]> git.hungrycats.org Git - linux/commit
[PATCH] s390: inline assembly constraints.
authorAndrew Morton <akpm@osdl.org>
Sat, 31 Jan 2004 02:04:17 +0000 (18:04 -0800)
committerLinus Torvalds <torvalds@home.osdl.org>
Sat, 31 Jan 2004 02:04:17 +0000 (18:04 -0800)
commite4f06bee55391b48006ee436d7ce808fb6b92801
tree5eb0ccafec3f4cfda94e2ba8db91996a3f2a8198
parent7e9281439b93791b9c4ca77676d3e9a96c8ea621
[PATCH] s390: inline assembly constraints.

From: Martin Schwidefsky <schwidefsky@de.ibm.com>

s390 inline assembly bug-fixes:

- Add memory barriers to spinlocks, atomic variable functions and to
  test_and_{set,clear,change}_bit.

- Add "=m" and "m" contraints to tell gcc that the content of a variable
  is in fact used.

- Replace "+m" constraints by "=m" on the output and "m" on the input list.

- Use c-implemtation for ffz and __ffs.

- Use generic c-implemtation for ffs and fls.
14 files changed:
include/asm-s390/atomic.h
include/asm-s390/bitops.h
include/asm-s390/byteorder.h
include/asm-s390/checksum.h
include/asm-s390/div64.h
include/asm-s390/pgtable.h
include/asm-s390/processor.h
include/asm-s390/rwsem.h
include/asm-s390/semaphore.h
include/asm-s390/spinlock.h
include/asm-s390/system.h
include/asm-s390/timex.h
include/asm-s390/tlbflush.h
include/asm-s390/uaccess.h