summaryrefslogtreecommitdiffstats
path: root/OvmfPkg
diff options
context:
space:
mode:
Diffstat (limited to 'OvmfPkg')
-rw-r--r--OvmfPkg/Library/LoadLinuxLib/Linux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/OvmfPkg/Library/LoadLinuxLib/Linux.c b/OvmfPkg/Library/LoadLinuxLib/Linux.c
index ce3d760380..0bc8e156d7 100644
--- a/OvmfPkg/Library/LoadLinuxLib/Linux.c
+++ b/OvmfPkg/Library/LoadLinuxLib/Linux.c
@@ -168,7 +168,7 @@ LoadLinuxAllocateKernelPages (
);
Status = gBS->AllocatePages (
AllocateAddress,
- EfiLoaderData,
+ EfiLoaderCode,
Pages,
&KernelAddress
);