]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
2005-02-16 Yoshinori K. Okuji <okuji@enbug.org>
authorokuji <okuji@localhost>
Wed, 16 Feb 2005 20:45:48 +0000 (20:45 +0000)
committerokuji <okuji@localhost>
Wed, 16 Feb 2005 20:45:48 +0000 (20:45 +0000)
  * grub/asmstub.c (grub_stage2): Remove the attribute `volatile'
  from doit. I hope this change is safe for all compilers.

ChangeLog
grub/asmstub.c

index 7e12dc2ebca14692bdbd509bc8c6dc133f75a663..0f030b94202a1cd55a5f7e43ed703d20dc583d13 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-02-16  Yoshinori K. Okuji  <okuji@enbug.org>
+
+       * grub/asmstub.c (grub_stage2): Remove the attribute `volatile'
+       from doit. I hope this change is safe for all compilers.
+
 2005-02-15  Yoshinori K. Okuji  <okuji@enbug.org>
 
        * stage2/builtins.c (install_func): If DEST_DRIVE is a hard
index 1a4b82f29a805163c88a81000e3b035161f1161c..ab95b4b6f3911232809a51c78d11d26ff82cb202 100644 (file)
@@ -117,7 +117,7 @@ grub_stage2 (void)
   
   /* We need a nested function so that we get a clean stack frame,
      regardless of how the code is optimized. */
-  volatile void doit (void)
+  void doit (void)
     {
       /* Make sure our stack lives in the simulated memory area. */
       asm volatile ("movl %%esp, %0\n\tmovl %1, %%esp\n"