Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Unverified Commit 82df9edf authored by Michael Bestas's avatar Michael Bestas
Browse files

arm64: efi: Switch to static_assert wrapper



The backported commit 96bc0830 switched
static_assert to _Static_assert compared to the upstream commit, which
causes the following error when building with -Werror:

arch/arm64/kernel/efi.c:157:36: error: '_Static_assert' with no message
is a C2x extension [-Werror,-Wc2x-extensions]
_Static_assert(THREAD_SIZE >= SZ_8K);
                                   ^
                                   , ""
1 error generated.

Switch back to static_assert after picking the required upstream commit
6bab69c65013bed5fce9f101a64a84d0385b3946
"build_bug.h: add wrapper for _Static_assert"

Fixes: 96bc0830 ("BACKPORT: arm64: efi: Execute runtime services
       from a dedicated stack")
Signed-off-by: default avatarMichael Bestas <mkbestas@lineageos.org>
Change-Id: I74ff73517c49792d73f9bd4189ef73aec6addee0
parent bee00a7b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment