android_kernel_xiaomi_sm8350/arch/sh
Paul Mundt a252710fc5 sh: flush_cache_range() cleanup and optimizations.
flush_cache_range() wasn't page aligning the end of the range,
we can't assume that it will always be page aligned, and we
ended up getting unaligned faults in some rare call paths.

Additionally, we add a small optimization to just purge the
dcache entirely if the range is large enough that the page
table walking will take longer. We use an arbitrary value of
64 pages for the large range size, as per sh64.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2006-09-27 11:29:55 +09:00
..
boards sh: Move smc37c93x.h for SystemH board use. 2006-09-27 11:16:20 +09:00
boot Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
cchips [PATCH] irq-flags: SH: Use the new IRQF_ constants 2006-07-02 13:58:48 -07:00
configs
drivers [PATCH] irq-flags: SH: Use the new IRQF_ constants 2006-07-02 13:58:48 -07:00
kernel Fix 'make headers_check' on sh 2006-09-21 08:36:50 +01:00
lib Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
mm sh: flush_cache_range() cleanup and optimizations. 2006-09-27 11:29:55 +09:00
oprofile
tools
Kconfig [PATCH] KConfig: Spellchecking 'similarity' and 'independent' 2006-06-29 11:59:14 -07:00
Kconfig.debug
Makefile