]> git.baikalelectronics.ru Git - kernel.git/commit
[MIPS] Fix 32bit kernels on R4k with 128 byte cache line size
authorThomas Bogendoerfer <tsbogend@alpha.franken.de>
Tue, 8 Jul 2008 12:46:34 +0000 (14:46 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 8 Jul 2008 18:33:46 +0000 (19:33 +0100)
commit7b3b6cad8027a394c7f4bdf562d827bd43c62752
tree82d4cd90fe401ab70331cb94cd6c3f8fd53bf96c
parentd24add8e210a329ea0030a2ec9d3499c48df6f6d
[MIPS] Fix 32bit kernels on R4k with 128 byte cache line size

The generated copy_page for R4k CPU with a 128 byte cache line size used
Create Dirty Exclusive cache line operations even if only part of the
cache line was filled.  This change avoids generating cache operations,
if only part of the cache line size is copied in one loop. It also
increases the maxmimum loop size, because the generated code even fits
into the available space for r4k CPUs with 128 byte cache line size.

Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/mm/page.c