]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
nx: Rename GRUB_DL_ALIGN to DL_ALIGN
authorDaniel Kiper <daniel.kiper@oracle.com>
Wed, 16 Oct 2024 13:04:17 +0000 (15:04 +0200)
committerDaniel Kiper <daniel.kiper@oracle.com>
Thu, 31 Oct 2024 15:07:03 +0000 (16:07 +0100)
Rename has been skipped by mistake in the original commit.

Fixes: 94649c026 (nx: Set page permissions for loaded modules)
Signed-off-by: Daniel Kiper <daniel.kiper@oracle.com>
Tested-by: Sudeep Holla <sudeep.holla@arm.com>
Reviewed-by: Ross Philipson <ross.philipson@oracle.com>
grub-core/kern/dl.c

index 5a66e08862f2bf908ee53206991f88f2fb3d3a32..8ad015b0731b28cf5f6d07edb1e89f41ba9f6bd5 100644 (file)
@@ -646,7 +646,7 @@ grub_dl_set_mem_attrs (grub_dl_t mod, void *ehdr)
   grub_err_t err;
 #if !defined (__i386__) && !defined (__x86_64__) && !defined(__riscv) && \
   !defined (__loongarch__)
-  grub_size_t arch_addralign = GRUB_DL_ALIGN;
+  grub_size_t arch_addralign = DL_ALIGN;
   grub_addr_t tgaddr;
   grub_size_t tgsz;
 #endif