* 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:
parent
a19293cb75
commit
fbbfb6ab11
2 changed files with 6 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2013-12-08 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* 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 <phcoder@gmail.com>
|
||||
|
||||
Move OS-dependent mprotect for module loading to grub-core/osdep/*/dl.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. */
|
||||
|
|
Loading…
Reference in a new issue