From: Oleg Nesterov Date: Fri, 6 Jun 2008 18:31:39 +0000 (-0700) Subject: uml: activate_mm: remove the dead PF_BORROWED_MM check X-Git-Tag: v2.6.26-rc6~30 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aab2545fdd6641b76af0ae96456c4ca9d1e50dad;p=pandora-kernel.git uml: activate_mm: remove the dead PF_BORROWED_MM check use_mm() was changed to use switch_mm() instead of activate_mm(), since then nobody calls (and nobody should call) activate_mm() with PF_BORROWED_MM bit set. As Jeff Dike pointed out, we can also remove the "old != new" check, it is always true. Signed-off-by: Oleg Nesterov Cc: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed