Commit de635d83 authored by David S. Miller's avatar David S. Miller
Browse files

[SPARC64]: Fix flush_tsb_user() on SUN4V.



Needs to use physical addressing just like cheetah_plus.

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 1daef08a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -58,7 +58,7 @@ void flush_tsb_user(struct mmu_gather *mp)

	ctx = CTX_HWBITS(mm->context);

	if (tlb_type == cheetah_plus)
	if (tlb_type == cheetah_plus || tlb_type == hypervisor)
		base = __pa(tsb);
	else
		base = (unsigned long) tsb;