summaryrefslogtreecommitdiffstats
path: root/src/security
diff options
context:
space:
mode:
authorElyes Haouas <ehaouas@noos.fr>2023-09-07 19:38:07 +0200
committerElyes Haouas <ehaouas@noos.fr>2023-09-09 04:45:57 +0000
commitdc75d3e6c183811ffd99bc943256a6713250fc30 (patch)
treee9ec1eb627ef42bdd80bab7733e54f44a3079db8 /src/security
parent2dc5c6e2cc303b18b2c1434c0482ba68b6c4dc29 (diff)
downloadcoreboot-dc75d3e6c183811ffd99bc943256a6713250fc30.tar.gz
coreboot-dc75d3e6c183811ffd99bc943256a6713250fc30.tar.bz2
coreboot-dc75d3e6c183811ffd99bc943256a6713250fc30.zip
security/intel/stm: Remove __attribute__(())
Change-Id: Id35a0a589128ea2dfb2f0e5873d4fa087b0886a9 Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/77717 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
Diffstat (limited to 'src/security')
-rw-r--r--src/security/intel/stm/StmPlatformSmm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/security/intel/stm/StmPlatformSmm.c b/src/security/intel/stm/StmPlatformSmm.c
index 69df5cd6b152..9c5ae5264e5b 100644
--- a/src/security/intel/stm/StmPlatformSmm.c
+++ b/src/security/intel/stm/StmPlatformSmm.c
@@ -70,7 +70,7 @@ int load_stm_image(uintptr_t mseg)
struct descriptor {
uint16_t limit;
uintptr_t base;
-} __attribute__((packed));
+} __packed;
static void read_gdtr(struct descriptor *gdtr)
{