kernel-hacking-2024-linux-s.../arch/blackfin/include/asm
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
..
asm-offsets.h
atomic.h atomic: cleanup asm-generic atomic*.h inclusion 2011-07-26 16:49:47 -07:00
bfin-global.h Blackfin: move internal irq prototypes out of global namespace 2011-05-25 08:13:43 -04:00
bfin-lq035q1.h
bfin5xx_spi.h
bfin_can.h
bfin_dma.h
bfin_pfmon.h Blackfin: initial perf_event support 2011-05-25 08:24:09 -04:00
bfin_ppi.h
bfin_rotary.h
bfin_sdh.h
bfin_serial.h Blackfin: bfin_serial.h: turn default port wrappers into stubs 2011-05-28 17:01:55 -04:00
bfin_simple_timer.h
bfin_sport.h Blackfin: boards: update ASoC resources after machine driver overhaul 2011-05-25 08:24:14 -04:00
bfin_twi.h
bfin_watchdog.h
bfrom.h
bitops.h Blackfin: bitops: fix include order after little endian inclusion 2011-03-25 16:54:13 -04:00
blackfin.h Blackfin: convert unicode space gremlins 2011-07-23 01:18:23 -04:00
bug.h
byteorder.h
cache.h
cachectl.h
cacheflush.h Blackfin: don't attempt to flush on-chip L1 SRAM regions 2011-05-25 08:13:41 -04:00
cdef_LPBlackfin.h
checksum.h
clocks.h
context.S
cplb.h
cplbinit.h
cpu.h Blackfin: SMP: drop unused blackfin_cpudata.idle pointer 2011-05-25 08:13:42 -04:00
def_LPBlackfin.h Blackfin: fix addr type with bfin_write_{or,and} helpers 2011-05-25 08:24:13 -04:00
delay.h
dma-mapping.h
dma.h atomic: use <linux/atomic.h> 2011-07-26 16:49:47 -07:00
dpmc.h Blackfin: dpmc: optimize hibernate/resume path 2011-07-23 01:18:29 -04:00
early_printk.h
elf.h
entry.h
fcntl.h
fixed_code.h
flat.h
ftrace.h
gpio.h Blackfin: bf538: pull gpio/port logic out of core hibernate paths 2011-07-23 01:18:30 -04:00
gptimers.h Blackfin: gptimers: add enable/disable by timer id 2011-07-23 01:18:22 -04:00
hardirq.h
io.h
ioctls.h
ipipe.h atomic: use <linux/atomic.h> 2011-07-26 16:49:47 -07:00
ipipe_base.h Blackfin/ipipe: upgrade to I-pipe mainline 2011-03-18 04:01:10 -04:00
irq.h
irq_handler.h Blackfin: bf537: demux port H mask A and emac rx ints 2011-05-25 08:13:43 -04:00
irqflags.h Blackfin: irqs: do not trace arch_local_{*,irq_*} functions 2011-07-23 01:18:33 -04:00
Kbuild Blackfin: convert to kbuild asm-generic support 2011-07-23 00:41:23 -04:00
kgdb.h kgdbts: unify/generalize gdb breakpoint adjustment 2011-05-26 17:12:36 -07:00
l1layout.h
linkage.h
mem_init.h
mem_map.h
mmu.h
mmu_context.h
module.h Blackfin: convert unicode space gremlins 2011-07-23 01:18:23 -04:00
mutex.h Blackfin: convert to asm-generic/mutex-dec.h for all systems 2011-07-23 01:10:43 -04:00
nand.h
nmi.h
page.h Blackfin: convert unicode space gremlins 2011-07-23 01:18:23 -04:00
page_offset.h
pci.h
pda.h Blackfin: optimize double fault boot checking 2011-07-23 01:10:43 -04:00
perf_event.h Blackfin: initial perf_event support 2011-05-25 08:24:09 -04:00
pgtable.h
poll.h
portmux.h
posix_types.h
processor.h
pseudo_instructions.h
ptrace.h ptrace: unify show_regs() prototype 2011-07-26 16:49:43 -07:00
reboot.h
rwlock.h
sections.h Blackfin: convert unicode space gremlins 2011-07-23 01:18:23 -04:00
segment.h
sigcontext.h Blackfin: convert unicode space gremlins 2011-07-23 01:18:23 -04:00
siginfo.h
signal.h
smp.h Blackfin: SMP: work around anomaly 05000491 2011-03-18 04:01:04 -04:00
spinlock.h atomic: use <linux/atomic.h> 2011-07-26 16:49:47 -07:00
spinlock_types.h
stat.h
string.h
swab.h
syscall.h
system.h Blackfin: SMP: make all barriers handle cache issues 2011-04-13 19:34:04 -04:00
thread_info.h
time.h
timex.h
tlb.h
tlbflush.h
trace.h
traps.h Fix common misspellings 2011-03-31 11:26:23 -03:00
uaccess.h
unistd.h Blackfin: wire up new sendmmsg syscall 2011-05-28 17:02:55 -04:00