module: Avoid ABI changes when debug info is disabled

CI builds are done with debug info disabled, but this removes some
members from struct module.  This causes builds to fail if there is an
ABI reference for the current ABI.

Define these members unconditionally, so that there is no ABI change.
This commit is contained in:
Ben Hutchings
2022-05-13 21:08:08 +02:00
committed by Dom Cobley
parent 1d75dbb00f
commit af9bfdfea3

View File

@@ -507,7 +507,7 @@ struct module {
unsigned int num_bpf_raw_events; unsigned int num_bpf_raw_events;
struct bpf_raw_event_map *bpf_raw_events; struct bpf_raw_event_map *bpf_raw_events;
#endif #endif
#ifdef CONFIG_DEBUG_INFO_BTF_MODULES #if 1
unsigned int btf_data_size; unsigned int btf_data_size;
unsigned int btf_base_data_size; unsigned int btf_base_data_size;
void *btf_data; void *btf_data;