commit | 1087e9b4ff708976499b4de541d9e1d57d49b60a | [log] [tgz] |
---|---|---|
author | Andi Kleen <ak@linux.intel.com> | Sun Oct 04 02:20:11 2009 +0200 |
committer | Andi Kleen <ak@linux.intel.com> | Sun Oct 04 03:23:17 2009 +0200 |
tree | a370356b3f969b6081189d850d9a56921ed341c4 | |
parent | f0a221ef47df3cdde2123fe75ce3b61bb7df656d [diff] |
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 <ak@linux.intel.com>