|
@@ -485,11 +485,11 @@ static void r4k_tlb_configure(void)
|
|
* Enable the no read, no exec bits, and enable large virtual
|
|
* Enable the no read, no exec bits, and enable large virtual
|
|
* address.
|
|
* address.
|
|
*/
|
|
*/
|
|
- u32 pg = PG_RIE | PG_XIE;
|
|
|
|
#ifdef CONFIG_64BIT
|
|
#ifdef CONFIG_64BIT
|
|
- pg |= PG_ELPA;
|
|
|
|
|
|
+ set_c0_pagegrain(PG_RIE | PG_XIE | PG_ELPA);
|
|
|
|
+#else
|
|
|
|
+ set_c0_pagegrain(PG_RIE | PG_XIE);
|
|
#endif
|
|
#endif
|
|
- write_c0_pagegrain(pg);
|
|
|
|
}
|
|
}
|
|
|
|
|
|
temp_tlb_entry = current_cpu_data.tlbsize - 1;
|
|
temp_tlb_entry = current_cpu_data.tlbsize - 1;
|