Revert "ANDROID: GKI: skip btf_type_tag in genksyms"

Changes to CRC due to updating pahole to v1.23 can be now be applied
with a new KMI release.

This reverts commit 26f2032cc4.

Bug: 269622287
Change-Id: Ied7dfaa5e77066e1e92159fbf58cca7436515eb3
Signed-off-by: Aleksei Vetrov <vvvvvv@google.com>
This commit is contained in:
Aleksei Vetrov
2023-02-28 12:49:12 +00:00
committed by Todd Kjos
parent 622f219930
commit 12b3802db1

View File

@@ -7,13 +7,9 @@
/*
* Skipped when running bindgen due to a libclang issue;
* see https://github.com/rust-lang/rust-bindgen/issues/2244.
*
* Skipped when running genksyms due to breakage of CRC.
* Should be reverted on next KMI update.
*/
#if defined(CONFIG_DEBUG_INFO_BTF) && defined(CONFIG_PAHOLE_HAS_BTF_TAG) && \
__has_attribute(btf_type_tag) && !defined(__BINDGEN__) && \
!defined(__GENKSYMS__)
__has_attribute(btf_type_tag) && !defined(__BINDGEN__)
# define BTF_TYPE_TAG(value) __attribute__((btf_type_tag(#value)))
#else
# define BTF_TYPE_TAG(value) /* nothing */