X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=arch%2Fmips%2Fmm%2Fpage.c;h=c41953ca6605ca347db0bbe71689fb791ef51410;hb=1e820da3c9af4f5771d2ad47099919429b906ac6;hp=885d73ffd6fb470ff237916784ef283c19b5c7eb;hpb=1ce286b9c9bd08875072a7c3c6a43ef2a2ea4a71;p=linux-2.6-block.git diff --git a/arch/mips/mm/page.c b/arch/mips/mm/page.c index 885d73ffd6fb..c41953ca6605 100644 --- a/arch/mips/mm/page.c +++ b/arch/mips/mm/page.c @@ -188,6 +188,15 @@ static void set_prefetch_parameters(void) } break; + case CPU_LOONGSON3: + /* Loongson-3 only support the Pref_Load/Pref_Store. */ + pref_bias_clear_store = 128; + pref_bias_copy_load = 128; + pref_bias_copy_store = 128; + pref_src_mode = Pref_Load; + pref_dst_mode = Pref_Store; + break; + default: pref_bias_clear_store = 128; pref_bias_copy_load = 256;