linux/arch/m68k
Arun Sharma 7847777a45 atomic: cleanup asm-generic atomic*.h inclusion
After changing all consumers of atomics to include <linux/atomic.h>, we
ran into some compile time errors due to this dependency chain:

linux/atomic.h
  -> asm/atomic.h
    -> asm-generic/atomic-long.h

where atomic-long.h could use funcs defined later in linux/atomic.h
without a prototype.  This patches moves the code that includes
asm-generic/atomic*.h to linux/atomic.h.

Archs that need <asm-generic/atomic64.h> need to select
CONFIG_GENERIC_ATOMIC64 from now on (some of them used to include it
unconditionally).

Compile tested on i386 and x86_64 with allnoconfig.

Signed-off-by: Arun Sharma <asharma@fb.com>
Cc: Eric Dumazet <eric.dumazet@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: David Miller <davem@davemloft.net>
Acked-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2011-07-26 16:49:47 -07:00
..
amiga
apollo
atari
bvme6000
configs
emu
fpsp040
hp300
ifpsp060
include/asm atomic: cleanup asm-generic atomic*.h inclusion 2011-07-26 16:49:47 -07:00
kernel Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/gerg/m68knommu 2011-07-25 22:50:54 -07:00
lib m68k: merge and clean up delay.h files 2011-07-25 11:20:41 +10:00
mac
math-emu
mm m68knommu: Fix printk() format in free_initrd_mem() 2011-07-25 10:44:04 +10:00
mvme16x
mvme147
platform m68k: Revive reporting of spurious interrupts 2011-07-25 11:20:41 +10:00
q40
sun3
sun3x
tools/amiga
install.sh
Kconfig m68k: merge mmu and non-mmu bitops.h 2011-07-25 11:20:40 +10:00
Kconfig.debug
Kconfig.mmu
Kconfig.nommu m68k: merge mmu and non-mmu bitops.h 2011-07-25 11:20:40 +10:00
Makefile
Makefile_mm
Makefile_no m68knommu: merge ColdFire 5206 and 5206e platform code 2011-07-25 11:20:41 +10:00