From 49cea015c03834f4d2e05e792ebf18875346b26c Mon Sep 17 00:00:00 2001 From: Vladimir 'phcoder' Serbinenko Date: Wed, 6 Jun 2012 18:58:19 +0200 Subject: [PATCH] * grub-core/loader/powerpc/ieee1275/linux.c (grub_linux_boot): Sync caches. --- ChangeLog | 5 +++++ grub-core/loader/powerpc/ieee1275/linux.c | 2 ++ 2 files changed, 7 insertions(+) diff --git a/ChangeLog b/ChangeLog index d6557da2b..d7276f2cf 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2012-06-06 Vladimir Serbinenko + + * grub-core/loader/powerpc/ieee1275/linux.c (grub_linux_boot): Sync + caches. + 2012-06-06 Vladimir Serbinenko * util/grub-fstest.c (cmd_crc): Use grub_get_unaligned32 for safety. diff --git a/grub-core/loader/powerpc/ieee1275/linux.c b/grub-core/loader/powerpc/ieee1275/linux.c index 5cfa988f6..a1abc2a8e 100644 --- a/grub-core/loader/powerpc/ieee1275/linux.c +++ b/grub-core/loader/powerpc/ieee1275/linux.c @@ -28,6 +28,7 @@ #include #include #include +#include GRUB_MOD_LICENSE ("GPLv3+"); @@ -102,6 +103,7 @@ grub_linux_boot (void) kernel_entry_t linuxmain; grub_ssize_t actual; + grub_arch_sync_caches ((void *) linux_addr, linux_size); /* Set the command line arguments. */ grub_ieee1275_set_property (grub_ieee1275_chosen, "bootargs", linux_args, grub_strlen (linux_args) + 1, &actual);