From 5e099d2ed0b3e93017fa437a3536e8e8d38fc6a6 Mon Sep 17 00:00:00 2001 From: Jeremy Bettis Date: Wed, 10 Jul 2024 11:43:04 -0600 Subject: [PATCH] CHROMIUM: Add #line to arm_mpu.c Work around coreboot GCC preprocessor bug. BUG=b:272518464 TEST=BOARD=craask ; zmake build --coverage $BOARD && ./util/find_non_exec_lines.py build/zephyr/$BOARD/output/zephyr.info GWSQ_IGNORES=asemjonovs Change-Id: Ib9c19bc8ba2328dcc37886a0a0350a77dea7fb8f Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/zephyr/+/5692002 Tested-by: Jeremy Bettis Reviewed-by: Tomasz Michalec Commit-Queue: Jeremy Bettis --- arch/arm/core/mpu/arm_mpu.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/core/mpu/arm_mpu.c b/arch/arm/core/mpu/arm_mpu.c index 3f9cf095754..24d70adea48 100644 --- a/arch/arm/core/mpu/arm_mpu.c +++ b/arch/arm/core/mpu/arm_mpu.c @@ -4,6 +4,12 @@ * SPDX-License-Identifier: Apache-2.0 */ +/* + * TODO(b/272518464): Work around coreboot GCC preprocessor bug. + * #line marks the *next* line, so it is off by one. + */ +#line 12 + #include #include #include