static inline void check_and_switch_context(struct mm_struct *mm,
struct task_struct *tsk)
{
- /*
- * Required during context switch to avoid speculative page table
- * walking with the wrong TTBR.
- */
- cpu_set_reserved_ttbr0();
+ /* unneeded switch to ASID0 */
+ /* cpu_set_reserved_ttbr0(); */
if (!((mm->context.id ^ cpu_last_asid) >> max_asid_bits))
/*