]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
* grub-core/loader/powerpc/ieee1275/linux.c (grub_linux_boot): Sync
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Wed, 6 Jun 2012 16:58:19 +0000 (18:58 +0200)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Wed, 6 Jun 2012 16:58:19 +0000 (18:58 +0200)
caches.

ChangeLog
grub-core/loader/powerpc/ieee1275/linux.c

index d6557da2b0c6e53d617bb7c0858632899a4da567..d7276f2cf90dd4598c33d2d6f5e07823596c19f2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2012-06-06  Vladimir Serbinenko  <phcoder@gmail.com>
+
+       * grub-core/loader/powerpc/ieee1275/linux.c (grub_linux_boot): Sync
+       caches.
+
 2012-06-06  Vladimir Serbinenko  <phcoder@gmail.com>
 
        * util/grub-fstest.c (cmd_crc): Use grub_get_unaligned32 for safety.
index 5cfa988f62bd3704520e74f3eb0a622083ca4133..a1abc2a8e4310d2c35a35170e705b4661f168603 100644 (file)
@@ -28,6 +28,7 @@
 #include <grub/i18n.h>
 #include <grub/memory.h>
 #include <grub/lib/cmdline.h>
+#include <grub/cache.h>
 
 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);