1 From cef5502a62eac90de1299bdd3a804b26675003c7 Mon Sep 17 00:00:00 2001
2 From: Ben Hutchings <benh@debian.org>
3 Date: Fri, 13 May 2022 21:08:08 +0200
4 Subject: [PATCH 1021/1085] module: Avoid ABI changes when debug info is
7 CI builds are done with debug info disabled, but this removes some
8 members from struct module. This causes builds to fail if there is an
9 ABI reference for the current ABI.
11 Define these members unconditionally, so that there is no ABI change.
13 include/linux/module.h | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-)
16 --- a/include/linux/module.h
17 +++ b/include/linux/module.h
18 @@ -512,7 +512,7 @@ struct module {
19 unsigned int num_bpf_raw_events;
20 struct bpf_raw_event_map *bpf_raw_events;
22 -#ifdef CONFIG_DEBUG_INFO_BTF_MODULES
24 unsigned int btf_data_size;