linux/arch/score/include/asm
Ilya Loginov 2d4dc890b5 block: add helpers to run flush_dcache_page() against a bio and a request's pages
Mtdblock driver doesn't call flush_dcache_page for pages in request.  So,
this causes problems on architectures where the icache doesn't fill from
the dcache or with dcache aliases.  The patch fixes this.

The ARCH_IMPLEMENTS_FLUSH_DCACHE_PAGE symbol was introduced to avoid
pointless empty cache-thrashing loops on architectures for which
flush_dcache_page() is a no-op.  Every architecture was provided with this
flush pages on architectires where ARCH_IMPLEMENTS_FLUSH_DCACHE_PAGE is
equal 1 or do nothing otherwise.

See "fix mtd_blkdevs problem with caches on some architectures" discussion
on LKML for more information.

Signed-off-by: Ilya Loginov <isloginov@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: David Woodhouse <dwmw2@infradead.org>
Cc: Peter Horton <phorton@bitbox.co.uk>
Cc: "Ed L. Cashin" <ecashin@coraid.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
2009-11-26 09:16:19 +01:00
..
asmmacro.h
atomic.h
auxvec.h
bitops.h
bitsperlong.h
bug.h
bugs.h
byteorder.h
cache.h
cacheflush.h block: add helpers to run flush_dcache_page() against a bio and a request's pages 2009-11-26 09:16:19 +01:00
checksum.h
cputime.h
current.h
delay.h
device.h
div64.h
dma-mapping.h
dma.h
elf.h score: remove unused code, add include files in .c 2009-08-30 12:26:32 +08:00
emergency-restart.h
errno.h
fcntl.h
fixmap.h
ftrace.h
futex.h
hardirq.h
hw_irq.h
io.h
ioctl.h
ioctls.h
ipcbuf.h
irq_regs.h score: update inconsistent declare after .c was changed 2009-08-30 12:30:16 +08:00
irq.h score: update inconsistent declare after .c was changed 2009-08-30 12:30:16 +08:00
irqflags.h score: remove unused code, add include files in .c 2009-08-30 12:26:32 +08:00
Kbuild
kdebug.h
kmap_types.h
linkage.h score: update inconsistent declare after .c was changed 2009-08-30 12:30:16 +08:00
local.h
mman.h
mmu_context.h
mmu.h
module.h
msgbuf.h
mutex.h
page.h score: Make PAGE_SIZE available to assembly. 2009-09-23 13:35:51 +08:00
param.h
pci.h
percpu.h
pgalloc.h score: update inconsistent declare after .c was changed 2009-08-30 12:30:16 +08:00
pgtable-bits.h
pgtable.h score: update inconsistent declare after .c was changed 2009-08-30 12:30:16 +08:00
poll.h
posix_types.h
processor.h
ptrace.h score: update inconsistent declare after .c was changed 2009-08-30 12:30:16 +08:00
resource.h
scatterlist.h
scoreregs.h
sections.h
segment.h
sembuf.h
setup.h score: add MEMORY_START and MEMORY_SIZE define, to make the code clear 2009-08-30 12:31:58 +08:00
shmbuf.h
shmparam.h
sigcontext.h
siginfo.h
signal.h
socket.h
sockios.h
stat.h
statfs.h
string.h
swab.h
syscalls.h score: add prototypes for wrapped syscalls 2009-06-19 14:10:46 +02:00
system.h
termbits.h
termios.h
thread_info.h score: Make THREAD_SIZE available to assembly files. 2009-09-23 13:37:42 +08:00
timex.h
tlb.h
tlbflush.h
topology.h
types.h
uaccess.h score: update inconsistent declare after .c was changed 2009-08-30 12:30:16 +08:00
ucontext.h score: add missing #includes 2009-06-27 15:09:46 +02:00
unaligned.h
unistd.h score: add old syscall support 2009-08-30 12:33:30 +08:00
user.h score: update inconsistent declare after .c was changed 2009-08-30 12:30:16 +08:00