rdmsr: fix formatting options, reorganize for readability

Unbreak the formatting options (which were broken by the --all patch),
move them all to a common structure, and reorganize the various static
functions into a more logical order.  Remove dependencies on global
variables.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
1 file changed
tree: fd168ac4870384074442d485db489ddfe055ffaf
  1. .gitignore
  2. MAKEDEV-cpuid-msr
  3. Makefile
  4. rdmsr.c
  5. version.h
  6. wrmsr.c