diff --git a/include/zephyr/logging/log_msg.h b/include/zephyr/logging/log_msg.h index 4beb20ea03a..c7b88005350 100644 --- a/include/zephyr/logging/log_msg.h +++ b/include/zephyr/logging/log_msg.h @@ -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 + #ifndef ZEPHYR_INCLUDE_LOGGING_LOG_MSG_H_ #define ZEPHYR_INCLUDE_LOGGING_LOG_MSG_H_ @@ -24,6 +30,12 @@ #include #endif +/* + * TODO(b/272518464): Work around coreboot GCC preprocessor bug. + * #line marks the *next* line, so it is off by one. + */ +#line 38 + #ifdef __cplusplus extern "C" { #endif