From: Catalin Marinas Date: Mon, 28 Nov 2011 15:59:10 +0000 (+0000) Subject: ARM: Remove current_mm per-cpu variable X-Git-Tag: v3.5-rc1~182^2~2^2~1^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e323969ccda2d69f02e047c08b03faa09215c72a;p=pandora-kernel.git ARM: Remove current_mm per-cpu variable The current_mm variable was used to store the new mm between the switch_mm() and switch_to() calls where an IPI to reset the context could have set the wrong mm. Since the interrupts are disabled during context switch, there is no need for this variable, current->active_mm already points to the current mm when interrupts are re-enabled. Reviewed-by: Will Deacon Tested-by: Will Deacon Reviewed-by: Frank Rowand Tested-by: Marc Zyngier Signed-off-by: Catalin Marinas --- Reading git-diff-tree failed