Make arch-specific linux.h include guards architecture unique
authorLeif Lindholm <leif.lindholm@linaro.org>
Thu, 1 Feb 2018 18:18:50 +0000 (18:18 +0000)
committerDaniel Kiper <daniel.kiper@oracle.com>
Fri, 23 Feb 2018 21:42:42 +0000 (22:42 +0100)
commit8776e5a942582adaadc67865ed74cdd199e56a16
tree59035a8b61277f225dd65d87700673f5b6820e93
parent083c6e2455dcd4aafb6062d89fd6029dd3adddb6
Make arch-specific linux.h include guards architecture unique

Replace uses of GRUB_LINUX_MACHINE_HEADER and GRUB_LINUX_CPU_HEADER
with GRUB_<arch>_LINUX_HEADER include guards to prevent issues when
including more than one of them.

Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
include/grub/arm/linux.h
include/grub/arm64/linux.h
include/grub/i386/linux.h