acrn-kernel/include/asm-generic
Heiko Carstens a5fc1abe43 atomic: fix atomic_long_cmpxchg/xchg for 64 bit architectures
On a linux-next allyesconfig build:

kernel/trace/ring_buffer.c:1726:
	warning: passing argument 1 of 'atomic_cmpxchg' from incompatible pointer type
linux-next/arch/s390/include/asm/atomic.h:112:
	note: expected 'struct atomic_t *' but argument is of type 'struct atomic64_t *'

atomic_long_cmpxchg and atomic_long_xchg are incorrectly defined for 64
bit architectures.  They should be mapped to the atomic64_* variants.

Acked-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Acked-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2009-05-02 15:36:09 -07:00
..
bitops
4level-fixup.h
Kbuild
Kbuild.asm
atomic.h atomic: fix atomic_long_cmpxchg/xchg for 64 bit architectures 2009-05-02 15:36:09 -07:00
audit_change_attr.h
audit_dir_write.h
audit_read.h
audit_signal.h
audit_write.h
bitops.h
bug.h The default CONFIG_BUG=n version of BUG() should have an empty do...while 2009-04-15 13:55:13 -07:00
cmpxchg-local.h
cmpxchg.h
cputime.h
device.h
div64.h
dma-coherent.h
dma-mapping-broken.h
emergency-restart.h
errno-base.h
errno.h
fcntl.h
futex.h
gpio.h gpiolib: allow GPIOs to be named 2009-04-02 19:04:51 -07:00
ide_iops.h
int-l64.h
int-ll64.h
ioctl.h
iomap.h
irq_regs.h
kdebug.h
libata-portmap.h
local.h
memory_model.h
mm_hooks.h
mman.h
mutex-dec.h
mutex-null.h
mutex-xchg.h
page.h
pci-dma-compat.h
pci.h
percpu.h PERCPU: Collect the DECLARE/DEFINE declarations together 2009-04-21 19:40:00 -07:00
pgtable-nopmd.h
pgtable-nopud.h
pgtable.h
poll.h
resource.h
rtc.h
sections.h
siginfo.h asm-generic/siginfo.h: update NSIGTRAP definition 2009-04-13 15:04:30 -07:00
signal.h
statfs.h
syscall.h
termios.h
tlb.h
topology.h cpumask: remove the now-obsoleted pcibus_to_cpumask(): generic 2009-03-30 22:05:17 +10:30
uaccess.h
vmlinux.lds.h Remove unused support code for refok sections. 2009-04-27 19:51:58 -07:00
xor.h