]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
i386: Don't include <grub/cpu/linux.h> in coreboot and ieee1275 startup.S
authorJavier Martinez Canillas <javierm@redhat.com>
Thu, 3 Dec 2020 15:01:42 +0000 (16:01 +0100)
committerDaniel Kiper <daniel.kiper@oracle.com>
Fri, 11 Dec 2020 12:52:18 +0000 (13:52 +0100)
Nothing defined in the header file is used in the assembly code but it
may lead to build errors if some headers are included through this and
contains definitions that are not recognized by the assembler, e.g.:

../include/grub/types.h: Assembler messages:
../include/grub/types.h:76: Error: no such instruction: `typedef signed char grub_int8_t'
../include/grub/types.h:77: Error: no such instruction: `typedef short grub_int16_t'
../include/grub/types.h:78: Error: no such instruction: `typedef int grub_int32_t'

Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
grub-core/kern/i386/coreboot/startup.S
grub-core/kern/i386/ieee1275/startup.S

index c8486548de005faa31a022fe487a3688d5f0e3f1..df6adbabb5be8c362323f191f2159cdbf8b1c180 100644 (file)
@@ -18,7 +18,6 @@
 
 #include <grub/symbol.h>
 #include <grub/machine/memory.h>
-#include <grub/cpu/linux.h>
 #include <grub/offsets.h>
 #include <multiboot.h>
 #include <multiboot2.h>
index 245583bdb7133c4cf8f08745d12d44dc5c30311c..62cf348e01443ce8a702d79e3e5c17712460d58e 100644 (file)
@@ -18,7 +18,6 @@
 
 #include <grub/symbol.h>
 #include <grub/offsets.h>
-#include <grub/cpu/linux.h>
 #include <multiboot.h>
 #include <multiboot2.h>