From: Andi Kleen Date: Sun, 4 Oct 2009 00:20:11 +0000 (+0200) Subject: HWPOISON: Clean up PR_MCE_KILL interface X-Git-Tag: v2.6.32-rc6~48^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1087e9b4ff708976499b4de541d9e1d57d49b60a;p=pandora-kernel.git HWPOISON: Clean up PR_MCE_KILL interface While writing the manpage I noticed some shortcomings in the current interface. - Define symbolic names for all the different values - Boundary check the kill mode values - For symmetry add a get interface too. This allows library code to get/set the current state. - For consistency define a PR_MCE_KILL_DEFAULT value Signed-off-by: Andi Kleen --- Reading git-diff-tree failed