From fbbfb6ab11112dec9e35023595bada364814ce7e Mon Sep 17 00:00:00 2001 From: Vladimir Serbinenko Date: Sun, 8 Dec 2013 18:10:05 +0100 Subject: [PATCH] * grub-core/kern/ia64/efi/init.c: Fix alignment code so it doesn't truncate incomplete lines but instead flushes them. --- ChangeLog | 5 +++++ grub-core/kern/ia64/efi/init.c | 1 + 2 files changed, 6 insertions(+) diff --git a/ChangeLog b/ChangeLog index 6f90aada0..e7b4e9fe1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2013-12-08 Vladimir Serbinenko + + * grub-core/kern/ia64/efi/init.c: Fix alignment code so it doesn't + truncate incomplete lines but instead flushes them. + 2013-12-08 Vladimir Serbinenko Move OS-dependent mprotect for module loading to grub-core/osdep/*/dl.c diff --git a/grub-core/kern/ia64/efi/init.c b/grub-core/kern/ia64/efi/init.c index 5587d9cd8..f00509833 100644 --- a/grub-core/kern/ia64/efi/init.c +++ b/grub-core/kern/ia64/efi/init.c @@ -79,6 +79,7 @@ void grub_arch_sync_caches (void *address, grub_size_t len) { /* Cache line length is at least 32. */ + len += (grub_uint64_t)address & 0x1f; grub_uint64_t a = (grub_uint64_t)address & ~0x1f; /* Flush data. */