From: Oleg Nesterov Date: Tue, 30 Apr 2013 22:28:16 +0000 (-0700) Subject: coredump: factor out the setting of PF_DUMPCORE X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~88^2~39 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=079148b919d0c58b796f9ae98bdb53028dbcd5e7;p=pandora-kernel.git coredump: factor out the setting of PF_DUMPCORE Cleanup. Every linux_binfmt->core_dump() sets PF_DUMPCORE, move this into zap_threads() called by do_coredump(). Signed-off-by: Oleg Nesterov Acked-by: Mandeep Singh Baines Cc: Neil Horman Cc: "Rafael J. Wysocki" Cc: Tejun Heo Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed