From e6a60fd173e9540cd9a3c86d36be07148af9b119 Mon Sep 17 00:00:00 2001 From: Arthur Heymans Date: Mon, 16 May 2022 09:28:18 +0200 Subject: 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/64382 Tested-by: build bot (Jenkins) Reviewed-by: Nico Huber --- src/drivers/amd/agesa/heapmanager.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/drivers/amd/agesa/heapmanager.c b/src/drivers/amd/agesa/heapmanager.c index c1fac0dadb..e2bafb9dce 100644 --- a/src/drivers/amd/agesa/heapmanager.c +++ b/src/drivers/amd/agesa/heapmanager.c @@ -1,6 +1,9 @@ /* SPDX-License-Identifier: GPL-2.0-only */ +#pragma pack(push) #include +#pragma pack(pop) + #include #include -- cgit v1.2.3