diff --git a/ChangeLog b/ChangeLog index ccebcf1e0..375663f2c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2009-06-22 Robert Millan + + * include/grub/i386/kernel.h: Include `'. + [! GRUB_MACHINE_IEEE1275]: Set `GRUB_MOD_ALIGN' to 0x1. + 2009-06-22 Robert Millan * commands/search.c (grub_cmd_search): Macroify hardcoded args[] diff --git a/include/grub/i386/kernel.h b/include/grub/i386/kernel.h index 0dfab05b2..74715e178 100644 --- a/include/grub/i386/kernel.h +++ b/include/grub/i386/kernel.h @@ -1,6 +1,6 @@ /* * GRUB -- GRand Unified Bootloader - * Copyright (C) 2005,2006,2007,2008 Free Software Foundation, Inc. + * Copyright (C) 2005,2006,2007,2008,2009 Free Software Foundation, Inc. * * GRUB is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -19,7 +19,13 @@ #ifndef GRUB_KERNEL_CPU_HEADER #define GRUB_KERNEL_CPU_HEADER 1 -#define GRUB_MOD_ALIGN 0x1000 +#include + +#ifdef GRUB_MACHINE_IEEE1275 +#define GRUB_MOD_ALIGN 0x1000 +#else +#define GRUB_MOD_ALIGN 0x1 +#endif /* Non-zero value is only needed for PowerMacs. */ #define GRUB_MOD_GAP 0x0