Mathieu Desnoyers
2856f5e31c
atomic.h: atomic_add_unless as inline. Remove system.h atomic.h circular dependency
...
atomic_add_unless as inline. Remove system.h atomic.h circular dependency.
I agree (with Andi Kleen) this typeof is not needed and more error
prone. All the original atomic.h code that uses cmpxchg (which includes
the atomic_add_unless) uses defines instead of inline functions,
probably to circumvent a circular dependency between system.h and
atomic.h on powerpc (which my patch addresses). Therefore, it makes
sense to use inline functions that will provide type checking.
atomic_add_unless as inline. Remove system.h atomic.h circular dependency.
Digging into the FRV architecture shows me that it is also affected by
such a circular dependency. Here is the diff applying this against the
rest of my atomic.h patches.
It applies over the atomic.h standardization patches.
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-05-08 11:15:20 -07:00
..
acpi
PNPACPI sets pnpdev->dev.archdata
2007-05-08 11:15:08 -07:00
asm-alpha
atomic.h: atomic_add_unless as inline. Remove system.h atomic.h circular dependency
2007-05-08 11:15:20 -07:00
asm-arm
atomic.h: atomic_add_unless as inline. Remove system.h atomic.h circular dependency
2007-05-08 11:15:20 -07:00
asm-arm26
atomic.h: atomic_add_unless as inline. Remove system.h atomic.h circular dependency
2007-05-08 11:15:20 -07:00
asm-avr32
Clean up mostly unused IOSPACE macros
2007-05-08 11:15:13 -07:00
asm-blackfin
asm-cris
move die notifier handling to common code
2007-05-08 11:15:04 -07:00
asm-frv
atomic.h: atomic_add_unless as inline. Remove system.h atomic.h circular dependency
2007-05-08 11:15:20 -07:00
asm-generic
atomic.h: atomic_add_unless as inline. Remove system.h atomic.h circular dependency
2007-05-08 11:15:20 -07:00
asm-h8300
Clean up mostly unused IOSPACE macros
2007-05-08 11:15:13 -07:00
asm-i386
atomic.h: atomic_add_unless as inline. Remove system.h atomic.h circular dependency
2007-05-08 11:15:20 -07:00
asm-ia64
atomic.h: atomic_add_unless as inline. Remove system.h atomic.h circular dependency
2007-05-08 11:15:20 -07:00
asm-m32r
atomic.h: atomic_add_unless as inline. Remove system.h atomic.h circular dependency
2007-05-08 11:15:20 -07:00
asm-m68k
atomic.h: atomic_add_unless as inline. Remove system.h atomic.h circular dependency
2007-05-08 11:15:20 -07:00
asm-m68knommu
atomic.h: atomic_add_unless as inline. Remove system.h atomic.h circular dependency
2007-05-08 11:15:20 -07:00
asm-mips
atomic.h: atomic_add_unless as inline. Remove system.h atomic.h circular dependency
2007-05-08 11:15:20 -07:00
asm-parisc
atomic.h: atomic_add_unless as inline. Remove system.h atomic.h circular dependency
2007-05-08 11:15:20 -07:00
asm-powerpc
atomic.h: atomic_add_unless as inline. Remove system.h atomic.h circular dependency
2007-05-08 11:15:20 -07:00
asm-ppc
atomic.h: atomic_add_unless as inline. Remove system.h atomic.h circular dependency
2007-05-08 11:15:20 -07:00
asm-s390
kdump/kexec: calculate note size at compile time
2007-05-08 11:15:07 -07:00
asm-sh
Clean up mostly unused IOSPACE macros
2007-05-08 11:15:13 -07:00
asm-sh64
Clean up mostly unused IOSPACE macros
2007-05-08 11:15:13 -07:00
asm-sparc
move die notifier handling to common code
2007-05-08 11:15:04 -07:00
asm-sparc64
atomic.h: atomic_add_unless as inline. Remove system.h atomic.h circular dependency
2007-05-08 11:15:20 -07:00
asm-um
move die notifier handling to common code
2007-05-08 11:15:04 -07:00
asm-v850
move die notifier handling to common code
2007-05-08 11:15:04 -07:00
asm-x86_64
atomic.h: atomic_add_unless as inline. Remove system.h atomic.h circular dependency
2007-05-08 11:15:20 -07:00
asm-xtensa
atomic.h: atomic_add_unless as inline. Remove system.h atomic.h circular dependency
2007-05-08 11:15:20 -07:00
crypto
keys
linux
Kprobes: The ON/OFF knob thru debugfs
2007-05-08 11:15:19 -07:00
math-emu
Delete unused header file math-emu/extended.h
2007-05-08 11:15:05 -07:00
media
mtd
net
cleanup compat ioctl handling
2007-05-08 11:15:09 -07:00
pcmcia
rdma
rxrpc
scsi
sound
video
Kbuild