]> git.ipfire.org Git - thirdparty/grub.git/commit
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)
commitb87781feaf725eb712c61ddb0da7e5ebd89ecf86
tree888afa2a8e053773a6f0abc3ce823166fb3a6cb7
parent6213184b26689fa2e3db297b54cf4eb1713bcad1
i386: Don't include <grub/cpu/linux.h> in coreboot and ieee1275 startup.S

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