Skip to content
Commit 1087e9b4 authored by Andi Kleen's avatar Andi Kleen
Browse files

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: default avatarAndi Kleen <ak@linux.intel.com>
parent f0a221ef
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment