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>
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user