x86: MSR: add a struct representation of an MSR
authorBorislav Petkov <borislav.petkov@amd.com>
Fri, 22 May 2009 10:12:01 +0000 (12:12 +0200)
committerBorislav Petkov <borislav.petkov@amd.com>
Wed, 10 Jun 2009 10:18:42 +0000 (12:18 +0200)
commit6bc1096d7ab3621b3ffcf06616d1f4e0325d903d
tree286d1e4545fbd69c25fb4a5044d1d51122169a1d
parent07a2039b8eb0af4ff464efd3dfd95de5c02648c6
x86: MSR: add a struct representation of an MSR

Add a struct representing a 64bit MSR pair consisting of a low and high
register part and convert msr_info to use it. Also, rename msr-on-cpu.c
to msr.c.

Side note: Put the cpumask.h include in __KERNEL__ space thus fixing an
allmodconfig build failure in the headers_check target.

CC: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
arch/x86/include/asm/msr.h
arch/x86/lib/Makefile
arch/x86/lib/msr-on-cpu.c [deleted file]
arch/x86/lib/msr.c [new file with mode: 0644]