linux/drivers/staging/line6
Arnd Bergmann 9f61360148 staging: line6: avoid __sync_fetch_and_{and,or}
__sync_fetch_and_and and __sync_fetch_and_or are functions that are provided
by gcc and depending on the target architecture may be implemented in libgcc,
which is not always available in the kernel. This leads to a build failure
on ARMv5:

drivers/built-in.o: In function `line6_pcm_release':
:(.text+0x3bfe80): undefined reference to `__sync_fetch_and_and_4'
drivers/built-in.o: In function `line6_pcm_acquire':
:(.text+0x3bff30): undefined reference to `__sync_fetch_and_or_4'

To work around this, we can use the kernel-provided cmpxchg macro.

Build-tested only.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: Markus Grabner <grabner@icg.tugraz.at>
Acked-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-06-24 15:56:09 -07:00
..
audio.c
audio.h
capture.c staging: line6: drop CONFIG_LINE6_USB_DUMP_PCM 2013-01-20 15:56:59 -08:00
capture.h
driver.c staging: Remove unnecessary OOM messages 2013-02-11 10:10:33 -08:00
driver.h staging: line6: drop CONFIG_LINE6_USB_DUMP_PCM 2013-01-20 15:56:59 -08:00
Kconfig staging: line6: drop CONFIG_LINE6_USB_DUMP_PCM 2013-01-20 15:56:59 -08:00
Makefile staging: line6: drop unused dumprequest code 2012-11-26 16:13:51 -08:00
midi.c staging: line6: rename MidiBuffer to avoid CamelCase 2013-01-11 16:40:50 -08:00
midi.h staging: line6: rename MidiBuffer to avoid CamelCase 2013-01-11 16:40:50 -08:00
midibuf.c staging: line6: rename MidiBuffer to avoid CamelCase 2013-01-11 16:40:50 -08:00
midibuf.h staging: line6: rename MidiBuffer to avoid CamelCase 2013-01-11 16:40:50 -08:00
pcm.c staging: line6: avoid __sync_fetch_and_{and,or} 2013-06-24 15:56:09 -07:00
pcm.h
playback.c staging: line6: drop CONFIG_LINE6_USB_DUMP_PCM 2013-01-20 15:56:59 -08:00
playback.h
pod.c staging: line6: pod.c: fix checkpatch warning 2013-03-11 09:47:13 -07:00
pod.h staging: line6: drop dump requests from pod startup 2012-11-26 16:13:51 -08:00
podhd.c
podhd.h
revision.h
toneport.c staging: line6: drop ToneportSourceInfo CamelCase name 2013-01-11 16:40:50 -08:00
toneport.h
usbdefs.h
variax.c staging: line6: clean up line6_variax_process_message() 2013-01-20 15:57:47 -08:00
variax.h staging: line6: drop dump requests from variax startup 2012-11-26 16:13:51 -08:00