amd/agesa/heapmanager.c: Avoid pragma pack on the rest of the file

AGESA.h has a '#pragma pack' nested somewhere. The pack pragma packs all
structs which is not what is expected in the structs inside the headers
included below AGESA.h.

Change-Id: Ia70f68ea0ece7c097a37517206d75b71d695561f
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/64382
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
This commit is contained in:
Arthur Heymans 2022-05-16 09:28:18 +02:00 committed by Felix Held
parent 0c6dc828f6
commit e6a60fd173
1 changed files with 3 additions and 0 deletions

View File

@ -1,6 +1,9 @@
/* SPDX-License-Identifier: GPL-2.0-only */ /* SPDX-License-Identifier: GPL-2.0-only */
#pragma pack(push)
#include <AGESA.h> #include <AGESA.h>
#pragma pack(pop)
#include <amdlib.h> #include <amdlib.h>
#include <cbmem.h> #include <cbmem.h>