Skip to content

Commit

Permalink
CHROMIUM: Add #line to arm_mpu.c
Browse files Browse the repository at this point in the history
Work around coreboot GCC preprocessor bug.

BUG=b:272518464
TEST=BOARD=brya ; zmake build --coverage $BOARD &&
./util/find_non_exec_lines.py build/zephyr/$BOARD/output/zephyr.info

Change-Id: I606cd552eb141967c8a6c3e4609da00340d884f5
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/zephyr/+/5926409
Tested-by: Jeremy Bettis <jbettis@chromium.org>
Reviewed-by: Tomasz Michalec <tmichalec@google.com>
Commit-Queue: Tomasz Michalec <tmichalec@google.com>
Auto-Submit: Jeremy Bettis <jbettis@chromium.org>
  • Loading branch information
jeremybettis authored and Chromeos LUCI committed Oct 15, 2024
1 parent d76a2fb commit af3de59
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/arm/core/mpu/arm_mpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ static uint8_t static_regions_num;
#error "Unsupported ARM CPU"
#endif

#line 71
static int region_allocate_and_init(const uint8_t index,
const struct arm_mpu_region *region_conf)
{
Expand Down

0 comments on commit af3de59

Please sign in to comment.