From: Tony Luck Date: Thu, 15 Dec 2011 18:48:12 +0000 (-0800) Subject: HWPOISON: Clean up memory_failure() vs. __memory_failure() X-Git-Tag: v3.4-rc1~150^2~3^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cd42f4a3b2b1c4cbd997363dc57821953d73fd87;p=pandora-kernel.git HWPOISON: Clean up memory_failure() vs. __memory_failure() There is only one caller of memory_failure(), all other users call __memory_failure() and pass in the flags argument explicitly. The lone user of memory_failure() will soon need to pass flags too. Add flags argument to the callsite in mce.c. Delete the old memory_failure() function, and then rename __memory_failure() without the leading "__". Provide clearer message when action optional memory errors are ignored. Acked-by: Borislav Petkov Signed-off-by: Tony Luck --- Reading git-diff-tree failed