OpenCloudOS-Kernel/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
..
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
audio.c staging: line6: drop unused line6_index and line6_id arrays 2012-10-22 15:50:08 -07:00
audio.h Staging: line6: another upstream sync 2010-08-31 15:28:16 -07:00
capture.c staging: line6: drop CONFIG_LINE6_USB_DUMP_PCM 2013-01-20 15:56:59 -08:00
capture.h staging: line6: separate handling of buffer allocation and stream startup 2012-02-09 09:14:35 -08:00
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
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 staging: line6: drop trailing whitespace in pcm.h 2012-11-13 13:17:40 -08:00
playback.c staging: line6: drop CONFIG_LINE6_USB_DUMP_PCM 2013-01-20 15:56:59 -08:00
playback.h staging: line6: separate handling of buffer allocation and stream startup 2012-02-09 09:14:35 -08:00
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 staging: line6: eliminate useless NULL checks 2011-12-09 19:26:09 -08:00
podhd.h staging: line6: add Pod HD300 support 2011-11-26 16:14:11 -08:00
revision.h staging: line6: fixed ALSA/PCM interaction 2011-12-09 19:26:09 -08:00
toneport.c staging: line6: drop ToneportSourceInfo CamelCase name 2013-01-11 16:40:50 -08:00
toneport.h Staging: line6: another upstream sync 2010-08-31 15:28:16 -07:00
usbdefs.h staging: line6: wrap lines to 80 chars in usbdefs.h 2012-11-13 13:17:40 -08:00
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