From: Vladimir Serbinenko Date: Sun, 8 Dec 2013 17:10:05 +0000 (+0100) Subject: * grub-core/kern/ia64/efi/init.c: Fix alignment code so it doesn't X-Git-Tag: grub-2.02-beta1~133 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fbbfb6ab11112dec9e35023595bada364814ce7e;p=thirdparty%2Fgrub.git * grub-core/kern/ia64/efi/init.c: Fix alignment code so it doesn't truncate incomplete lines but instead flushes them. --- 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. */