diff options
author | Jeremy Bettis <jbettis@google.com> | 2023-05-15 17:30:22 +0000 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2023-05-15 19:16:29 +0000 |
commit | 7b963a79c884a1584120e5413eae489679a30183 (patch) | |
tree | 37921e3040a078bb584e2e23e796b420486384fb | |
parent | bfaf5b4b479fd3b4ef713d6e9e85392dc2652467 (diff) | |
download | chrome-ec-7b963a79c884a1584120e5413eae489679a30183.tar.gz |
ec: Add #line in include/system.h
Work around coreboot GCC preprocessor bug.
BUG=b:272518464
TEST=gcc -E
Change-Id: I609d019680bedddc8deea0f377c8bee4df6f5df1
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4533365
Commit-Queue: Aaron Massey <aaronmassey@google.com>
Auto-Submit: Jeremy Bettis <jbettis@chromium.org>
Tested-by: Jeremy Bettis <jbettis@chromium.org>
Reviewed-by: Aaron Massey <aaronmassey@google.com>
-rw-r--r-- | include/system.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/system.h b/include/system.h index c7884199e1..064656fd5f 100644 --- a/include/system.h +++ b/include/system.h @@ -5,6 +5,12 @@ /* System module for Chrome EC */ +/* + * TODO(b/272518464): Work around coreboot GCC preprocessor bug. + * #line marks the *next* line, so it is off by one. + */ +#line 13 + #ifndef __CROS_EC_SYSTEM_H #define __CROS_EC_SYSTEM_H |