msr-safe
msr-safe copied to clipboard
Removes open and close fileops from msr_batch.
This was copy/paste code from the msr_safe device that's not useful for the batch device.
The X86_FEATURE_MSR
is only used in two places in the kernel source: msr.c and arch/x86/include/asm/required-features.h
. The latter states
Define minimum CPUID feature set for kernel These bits are checked
really early to actually display a visible error message before the
kernel dies.
No need to be checking it here (or in msr-entry, for that matter).
Fixes #118 #117