diff options
author | Arthur Heymans <arthur@aheymans.xyz> | 2022-05-16 09:28:18 +0200 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2022-05-17 21:11:53 +0000 |
commit | e6a60fd173e9540cd9a3c86d36be07148af9b119 (patch) | |
tree | 905750cd354888b1bacb091929488f035dc69272 /src/drivers/amd/agesa | |
parent | 0c6dc828f649692f4fdb418078c3da6824582658 (diff) |
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>
Diffstat (limited to 'src/drivers/amd/agesa')
-rw-r--r-- | src/drivers/amd/agesa/heapmanager.c | 3 |
1 files changed, 3 insertions, 0 deletions
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 <AGESA.h> +#pragma pack(pop) + #include <amdlib.h> #include <cbmem.h> |