x86, ramdisk: Export relocated ramdisk VA
authorBorislav Petkov <bp@suse.de>
Wed, 4 Dec 2013 19:50:42 +0000 (20:50 +0100)
committerBorislav Petkov <bp@suse.de>
Mon, 13 Jan 2014 18:56:25 +0000 (19:56 +0100)
commit5aa3d718f259007121b9366d36315fb8a2983d3d
tree80ed9ca453d198e51f6c402880148a549b5e7380
parent7e22e91102c6b9df7c4ae2168910e19d2bb14cd6
x86, ramdisk: Export relocated ramdisk VA

The ramdisk can possibly get relocated if the whole image is not mapped.
And since we're going over it in the microcode loader and fishing out
the relevant microcode patches, we want access it at its new location.
Thus, export it.

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