linux/arch/openrisc/include/asm
James Hogan 9b04ebd158 asm-generic/io.h: remove asm/cacheflush.h include
Including <asm/cacheflush.h> from <asm-generic/io.h> prevents
cacheflush.h being able to use I/O functions like readl and writel due
to circular include dependencies. It doesn't appear as if anything from
cacheflush.h is actually used by the generic io.h, so remove the
include.

I've compile tested a defconfig compilation of blackfin, openrisc (which
needed <asm/pgtable.h> including from it's <asm/io.h> to get the PAGE_*
definitions), and xtensa.

Other architectures which use asm-generic/io.h are score and unicore32,
and looking at their io.h I don't see any obvious problems.

Signed-off-by: James Hogan <james.hogan@imgtec.com>
Acked-by: Jonas Bonn <jonas@southpole.se>
Cc: Chris Zankel <chris@zankel.net>
Cc: Max Filippov <jcmvbkbc@gmail.com>
Cc: Mike Frysinger <vapier@gentoo.org>
Cc: Chen Liqin <liqin.chen@sunplusct.com>
Cc: Lennox Wu <lennox.wu@gmail.com>
Cc: Guan Xuetao <gxt@mprc.pku.edu.cn>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2012-10-25 16:06:57 +02:00
..
bitops OpenRISC: Headers 2011-07-22 18:46:39 +02:00
asm-offsets.h OpenRISC: Headers 2011-07-22 18:46:39 +02:00
bitops.h OpenRISC: Headers 2011-07-22 18:46:39 +02:00
cache.h OpenRISC: Memory management 2011-07-22 18:46:28 +02:00
cpuinfo.h OpenRISC: Headers 2011-07-22 18:46:39 +02:00
delay.h OpenRISC: Headers 2011-07-22 18:46:39 +02:00
dma-mapping.h openrisc: provide dma_map_ops 2012-05-08 11:43:51 +02:00
elf.h UAPI: (Scripted) Disintegrate arch/openrisc/include/asm 2012-10-09 09:47:18 +01:00
fixmap.h OpenRISC: Memory management 2011-07-22 18:46:28 +02:00
gpio.h gpiolib/arches: Centralise bolierplate asm/gpio.h 2012-05-11 18:00:14 -06:00
io.h asm-generic/io.h: remove asm/cacheflush.h include 2012-10-25 16:06:57 +02:00
irq.h OpenRISC: IRQ 2011-07-22 18:46:33 +02:00
irqflags.h OpenRISC: IRQ 2011-07-22 18:46:33 +02:00
Kbuild UAPI: (Scripted) Disintegrate arch/openrisc/include/asm 2012-10-09 09:47:18 +01:00
linkage.h OpenRISC: Headers 2011-07-22 18:46:39 +02:00
mmu.h OpenRISC: Memory management 2011-07-22 18:46:28 +02:00
mmu_context.h OpenRISC: Memory management 2011-07-22 18:46:28 +02:00
mutex.h OpenRISC: Headers 2011-07-22 18:46:39 +02:00
page.h OpenRISC: Remove memory_start/end prototypes 2012-03-06 10:37:21 +01:00
pgalloc.h OpenRISC: Memory management 2011-07-22 18:46:28 +02:00
pgtable.h Remove remaining bits of io_remap_page_range() 2012-03-23 16:58:31 -07:00
processor.h openrisc: Make cpu_relax() invoke barrier() 2012-10-11 11:27:19 +02:00
prom.h irq_domain: Centralize definition of irq_dispose_mapping() 2012-02-26 16:48:06 -07:00
ptrace.h UAPI: (Scripted) Disintegrate arch/openrisc/include/asm 2012-10-09 09:47:18 +01:00
serial.h OpenRISC: Headers 2011-07-22 18:46:39 +02:00
spinlock.h OpenRISC: Headers 2011-07-22 18:46:39 +02:00
spr.h OpenRISC: Headers 2011-07-22 18:46:39 +02:00
spr_defs.h OpenRISC: Headers 2011-07-22 18:46:39 +02:00
syscall.h openrisc: sanitize use of orig_gpr11 2012-03-06 10:37:00 +01:00
syscalls.h OpenRISC: System calls 2011-07-22 18:46:34 +02:00
thread_info.h sanitize tsk_is_polling() 2012-10-01 09:58:13 -04:00
timex.h OpenRISC: Timekeeping 2011-07-22 18:46:32 +02:00
tlb.h OpenRISC: Memory management 2011-07-22 18:46:28 +02:00
tlbflush.h OpenRISC: Memory management 2011-07-22 18:46:28 +02:00
uaccess.h openrisc: use generic strnlen_user() function 2012-05-27 21:00:32 -07:00
unaligned.h OpenRISC: Headers 2011-07-22 18:46:39 +02:00