Re: [tip:x86/cpu] x86, msr: Add rd/wrmsr interfaces with preset registers

H. Peter Anvin
2009-09-04T16:28:33Z

On 09/04/2009 07:08 AM, Ingo Molnar wrote:
> * tip-bot for Borislav Petkov <petkovbb@googlemail.com> wrote:
>
>> Commit-ID: 132ec92f3f70fe365c1f4b8d46e66cf8a2a16880
>> Gitweb: http://git.kernel.org/tip/132ec92f3f70fe365c1f4b8d46e66cf8a2a16880
>> Author: Borislav Petkov <petkovbb@googlemail.com>
>> AuthorDate: Mon, 31 Aug 2009 09:50:09 +0200
>> Committer: H. Peter Anvin <hpa@zytor.com>
>> CommitDate: Mon, 31 Aug 2009 15:14:26 -0700
>>
>> x86, msr: Add rd/wrmsr interfaces with preset registers
>
> module exports are missing:
>
> ERROR: "native_wrmsr_safe_regs" [arch/x86/kernel/msr.ko] undefined!
> ERROR: "native_rdmsr_safe_regs" [arch/x86/kernel/msr.ko] undefined!
>

Uglier than that, msr-reg.o is defined as lib-y, which probably means
it's discarded completely if the kernel proper doesn't link it in.

It probably needs a new Kconfig variable or something... let me think
about it for a little bit.

-hpa

--
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel. I don't speak on their behalf.