diff options
author | Juergen Gross <jgross@suse.com> | 2025-03-27 22:06:02 +0300 |
---|---|---|
committer | Juergen Gross <jgross@suse.com> | 2025-04-11 10:44:50 +0300 |
commit | 715ad3e0ec2b13c27335749f27a5c9f0c0e84064 (patch) | |
tree | 2dfa777509caa559a0f22b9f6ed764e3d54c0d68 /tools/perf/scripts/python/intel-pt-events.py | |
parent | 64a66e2c3b3113dc78a6124e14825d68ddc2e188 (diff) | |
download | linux-715ad3e0ec2b13c27335749f27a5c9f0c0e84064.tar.xz |
xen: fix multicall debug feature
Initializing a percpu variable with the address of a struct tagged as
.initdata is breaking the build with CONFIG_SECTION_MISMATCH_WARN_ONLY
not set to "y".
Fix that by using an access function instead returning the .initdata
struct address if the percpu space of the struct hasn't been
allocated yet.
Fixes: 368990a7fe30 ("xen: fix multicall debug data referencing")
Reported-by: Borislav Petkov <bp@alien8.de>
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Acked-by: "Borislav Petkov (AMD)" <bp@alien8.de>
Tested-by: "Borislav Petkov (AMD)" <bp@alien8.de>
Signed-off-by: Juergen Gross <jgross@suse.com>
Message-ID: <20250327190602.26015-1-jgross@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions