diff options
| author | Juergen Gross <[email protected]> | 2025-03-27 19:06:02 +0000 |
|---|---|---|
| committer | Juergen Gross <[email protected]> | 2025-04-11 07:44:50 +0000 |
| commit | 715ad3e0ec2b13c27335749f27a5c9f0c0e84064 (patch) | |
| tree | 2dfa777509caa559a0f22b9f6ed764e3d54c0d68 /drivers/fpga/tests/fpga-bridge-test.c | |
| parent | x86/xen: disable CPU idle and frequency drivers for PVH dom0 (diff) | |
| download | kernel-715ad3e0ec2b13c27335749f27a5c9f0c0e84064.tar.gz kernel-715ad3e0ec2b13c27335749f27a5c9f0c0e84064.zip | |
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 <[email protected]>
Reviewed-by: Boris Ostrovsky <[email protected]>
Acked-by: "Borislav Petkov (AMD)" <[email protected]>
Tested-by: "Borislav Petkov (AMD)" <[email protected]>
Signed-off-by: Juergen Gross <[email protected]>
Message-ID: <[email protected]>
Diffstat (limited to 'drivers/fpga/tests/fpga-bridge-test.c')
0 files changed, 0 insertions, 0 deletions
