diff options
author | Borislav Petkov <bp@suse.de> | 2013-12-04 20:50:42 +0100 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2014-01-13 19:56:25 +0100 |
commit | 5aa3d718f259007121b9366d36315fb8a2983d3d (patch) | |
tree | 80ed9ca453d198e51f6c402880148a549b5e7380 /arch/x86/include/asm/setup.h | |
parent | 7e22e91102c6b9df7c4ae2168910e19d2bb14cd6 (diff) | |
download | linux-stable-5aa3d718f259007121b9366d36315fb8a2983d3d.tar.gz linux-stable-5aa3d718f259007121b9366d36315fb8a2983d3d.tar.bz2 linux-stable-5aa3d718f259007121b9366d36315fb8a2983d3d.zip |
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>
Diffstat (limited to 'arch/x86/include/asm/setup.h')
-rw-r--r-- | arch/x86/include/asm/setup.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86/include/asm/setup.h b/arch/x86/include/asm/setup.h index 59bcf4e22418..d62c9f809bc5 100644 --- a/arch/x86/include/asm/setup.h +++ b/arch/x86/include/asm/setup.h @@ -3,7 +3,6 @@ #include <uapi/asm/setup.h> - #define COMMAND_LINE_SIZE 2048 #include <linux/linkage.h> @@ -29,6 +28,8 @@ #include <asm/bootparam.h> #include <asm/x86_init.h> +extern u64 relocated_ramdisk; + /* Interrupt control for vSMPowered x86_64 systems */ #ifdef CONFIG_X86_64 void vsmp_init(void); |