linux/arch/blackfin
Paul Gortmaker 1512cdc357 blackfin: fix cmpxchg build fails from system.h fallout
Commit 3bed8d6746 ("Disintegrate asm/system.h for Blackfin [ver #2]")
introduced arch/blackfin/include/asm/cmpxchg.h but has it also including
the asm-generic one which causes this:

  CC      arch/blackfin/kernel/asm-offsets.s
  In file included from arch/blackfin/include/asm/cmpxchg.h:125:0,
                 from arch/blackfin/include/asm/atomic.h:10,
                 from include/linux/atomic.h:4,
                 from include/linux/spinlock.h:384,
                 from include/linux/seqlock.h:29,
                 from include/linux/time.h:8,
                 from include/linux/timex.h:56,
                 from include/linux/sched.h:57,
                 from arch/blackfin/kernel/asm-offsets.c:10:
  include/asm-generic/cmpxchg.h:24:15: error: redefinition of '__xchg'
  arch/blackfin/include/asm/cmpxchg.h:82:29: note: previous definition of '__xchg' was here
  make[2]: *** [arch/blackfin/kernel/asm-offsets.s] Error 1

It really only needs two simple defines from asm-generic, so just use
those instead.

Cc: Bob Liu <lliubbo@gmail.com>
Cc: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Acked-by: David Howells <dhowells@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2012-04-02 14:41:25 -07:00
..
boot Kbuild: centralize MKIMAGE and cmd_uimage definitions 2012-03-26 15:49:20 +02:00
configs arch: blackfin: udpate defconfig 2012-03-21 11:00:09 +08:00
include blackfin: fix cmpxchg build fails from system.h fallout 2012-04-02 14:41:25 -07:00
kernel new helper: ext2_image_size() 2012-03-31 16:03:16 -04:00
lib blackfin: clean up string bfin_dma_5xx after rename. 2012-03-21 11:00:10 +08:00
mach-bf518 arch/blackfin: don't generate random mac in bfin_get_ether_addr() 2012-03-21 11:00:08 +08:00
mach-bf527 arch/blackfin: don't generate random mac in bfin_get_ether_addr() 2012-03-21 11:00:08 +08:00
mach-bf533 blackfin: i2c-lcd: change default clock rate 2012-01-09 10:26:16 +08:00
mach-bf537 Blackfin: pnav: delete duplicate linux/export.h include 2012-03-21 11:00:09 +08:00
mach-bf538 blackfin: config: update macro SPI_BFIN in board file 2012-01-09 10:26:15 +08:00
mach-bf548 bf548: ssm2602: Add ssm2602 platform data into bf548 ezkit board file. 2012-03-21 11:00:10 +08:00
mach-bf561 bf561: add ppi DLEN macro for 10bits to 16bits 2012-03-21 11:00:09 +08:00
mach-common Blackfin: s/#if CONFIG/#ifdef CONFIG/ 2012-03-21 11:00:09 +08:00
mm blackfin: Add export.h to files using EXPORT_SYMBOL/THIS_MODULE 2011-10-31 19:31:01 -04:00
oprofile
ADI_BSD.txt Blackfin: mass clean up of copyright/licensing info 2009-10-07 04:36:26 -04:00
Kconfig nmi watchdog: do not use cpp symbol in Kconfig 2012-03-23 16:58:31 -07:00
Kconfig.debug Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vapier/blackfin 2011-05-25 15:34:14 -07:00
Makefile Blackfin: encode cpu-rev into uImage name 2011-01-10 07:18:27 -05:00