summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAaron Durbin <adurbin@chromium.org>2018-05-02 22:38:58 -0600
committerAaron Durbin <adurbin@chromium.org>2018-05-04 14:17:18 +0000
commit381feb88837272a8f00162a35b838db6b5be7ac1 (patch)
treeb00ccb89bf395f1c8c02b9ad2eec1f0436660ec9 /src
parent4c16f8fe2b4ea5960a860f14086520c4c80122d3 (diff)
downloadcoreboot-381feb88837272a8f00162a35b838db6b5be7ac1.tar.xz
cpu/x86/mp: use __aligned macro
Now that __aligned is around, take advantage of it. Change-Id: I93cdbe108d752088f34d3f5722dce5d9b90bcdc3 Signed-off-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: https://review.coreboot.org/26022 Reviewed-by: Justin TerAvest <teravest@chromium.org> Reviewed-by: Furquan Shaikh <furquan@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src')
-rw-r--r--src/cpu/x86/mp_init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cpu/x86/mp_init.c b/src/cpu/x86/mp_init.c
index f290a48c99..88a8f36bad 100644
--- a/src/cpu/x86/mp_init.c
+++ b/src/cpu/x86/mp_init.c
@@ -60,7 +60,7 @@ struct mp_flight_record {
atomic_t cpus_entered;
mp_callback_t ap_call;
mp_callback_t bsp_call;
-} __attribute__((aligned(CACHELINE_SIZE)));
+} __aligned(CACHELINE_SIZE);
#define _MP_FLIGHT_RECORD(barrier_, ap_func_, bsp_func_) \
{ \