aboutsummaryrefslogtreecommitdiff
path: root/lib/utils/cppc/fdt_cppc_rpmi.c
diff options
context:
space:
mode:
authorJessica Clarke <jrtc27@jrtc27.com>2025-07-10 00:28:39 +0100
committerAnup Patel <anup@brainfault.org>2025-07-21 16:37:22 +0530
commit4825a3f87f8d3ee45b7f9b76ed62de7bd1f2dfa8 (patch)
tree31a2d4919aa986a6c49ab9e03e68f450914aa4bb /lib/utils/cppc/fdt_cppc_rpmi.c
parent3876f8cd1e3c0c203a315bdc6e8ced176bb49e0a (diff)
downloadopensbi-4825a3f87f8d3ee45b7f9b76ed62de7bd1f2dfa8.zip
opensbi-4825a3f87f8d3ee45b7f9b76ed62de7bd1f2dfa8.tar.gz
opensbi-4825a3f87f8d3ee45b7f9b76ed62de7bd1f2dfa8.tar.bz2
include: sbi: Don't use #pragma when preprocessing device tree sources
Since this persists in the preprocessed output (so that it can affect the subsequent compilation), it ends up in the input to dtc and is a syntax error, breaking the k210 build. Ideally we wouldn't add the -include flag to DTSCPPFLAGS in the first place as this header is wholly pointless there, but that's a more invasive build system change compared to just making this header safe to include there. Fixes: 86c01a73ff9d ("lib: sbi: Avoid GOT indirection for global symbol references") Signed-off-by: Jessica Clarke <jrtc27@jrtc27.com> Reviewed-by: Samuel Holland <samuel.holland@sifive.com> Tested-by: Xiang W <wxjstz@126.com> Reviewed-by: Xiang W <wxjstz@126.com> Link: https://lore.kernel.org/r/20250709232840.37551-1-jrtc27@jrtc27.com Signed-off-by: Anup Patel <anup@brainfault.org>
Diffstat (limited to 'lib/utils/cppc/fdt_cppc_rpmi.c')
0 files changed, 0 insertions, 0 deletions