<feed xmlns='http://www.w3.org/2005/Atom'>
<title>lwn.git/arch/x86/lib/msr-reg-export.c, branch v3.3.5</title>
<subtitle>Linux kernel documentation tree maintained by Jonathan Corbet</subtitle>
<id>http://mirrors.hust.edu.cn/git/lwn.git/atom?h=v3.3.5</id>
<link rel='self' href='http://mirrors.hust.edu.cn/git/lwn.git/atom?h=v3.3.5'/>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/'/>
<updated>2009-09-04T17:00:09+00:00</updated>
<entry>
<title>x86, msr: change msr-reg.o to obj-y, and export its symbols</title>
<updated>2009-09-04T17:00:09+00:00</updated>
<author>
<name>H. Peter Anvin</name>
<email>hpa@zytor.com</email>
</author>
<published>2009-09-04T17:00:09+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=b19ae3999891cad21a3995c34d313dda5df014e2'/>
<id>urn:sha1:b19ae3999891cad21a3995c34d313dda5df014e2</id>
<content type='text'>
Change msr-reg.o to obj-y (it will be included in virtually every
kernel since it is used by the initialization code for AMD processors)
and add a separate C file to export its symbols to modules, so that
msr.ko can use them; on uniprocessors we bypass the helper functions
in msr.o and use the accessor functions directly via inlines.

Signed-off-by: H. Peter Anvin &lt;hpa@zytor.com&gt;
LKML-Reference: &lt;20090904140834.GA15789@elte.hu&gt;
Cc: Borislav Petkov &lt;petkovbb@googlemail.com&gt;
</content>
</entry>
</feed>
