* grub-core/kern/ia64/efi/init.c: Fix alignment code so it doesn't

truncate incomplete lines but instead flushes them.
This commit is contained in:
Vladimir Serbinenko 2013-12-08 18:10:05 +01:00
parent a19293cb75
commit fbbfb6ab11
2 changed files with 6 additions and 0 deletions

View file

@ -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. */