sparc64: combine activate_mm and switch_mm

The only difference between these two functions is that in activate_mm we
unconditionally flush context. However, there is no need to keep this
difference after fixing a bug where cpumask was not reset on a wrap. So, in
this patch we combine these.

Signed-off-by: Pavel Tatashin <>
Reviewed-by: Bob Picco <>
Reviewed-by: Steven Sistare <>
Signed-off-by: David S. Miller <>
1 file changed