x86, microcode: Share native MSR accessing variants
authorBorislav Petkov <bp@suse.de>
Wed, 4 Dec 2013 11:31:31 +0000 (12:31 +0100)
committerBorislav Petkov <bp@suse.de>
Mon, 13 Jan 2014 18:57:27 +0000 (19:57 +0100)
commite1b43e3f13f7157249fb962ccf88b84eb0421fb4
treeba9ef92b4dc9cfe9baaae81b2af7f2cde41799d3
parent5aa3d718f259007121b9366d36315fb8a2983d3d
x86, microcode: Share native MSR accessing variants

We want to use those in AMD's early loading path too. Also, add a
native_wrmsrl variant.

Signed-off-by: Borislav Petkov <bp@suse.de>
Tested-by: Aravind Gopalakrishnan <Aravind.Gopalakrishnan@amd.com>
arch/x86/include/asm/microcode.h
arch/x86/kernel/microcode_intel_early.c