diff options
| author | Brendan Jackman <jackmanb@google.com> | 2025-08-13 15:08:22 +0000 |
|---|---|---|
| committer | Borislav Petkov (AMD) <bp@alien8.de> | 2025-10-24 22:13:00 +0200 |
| commit | 5385dec724ab4582df5b1fb2184c8b42ea547b3d (patch) | |
| tree | 2d4ad2493047f7622196483597d7782c914c5ea2 /drivers/usb/cdns3/cdns3-pci-wrap.c | |
| parent | 211ddde0823f1442e4ad052a2f30f050145ccada (diff) | |
x86/mm: Unify __phys_addr_symbol()
There are two implementations on 64-bit, depending on CONFIG_DEBUG_VIRTUAL,
but they differ only regarding the presence of VIRTUAL_BUG_ON, which is
already ifdef'd on CONFIG_DEBUG_VIRTUAL.
To avoid adding a function call on non-LTO non-DEBUG_VIRTUAL builds, move the
function into the header. (Note the function is already only used on 64-bit).
Signed-off-by: Brendan Jackman <jackmanb@google.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Acked-by: Dave Hansen <dave.hansen@linux.intel.com>
Link: https://patch.msgid.link/all/20250813-phys-addr-cleanup-v1-1-19e334b1c466@google.com/
Diffstat (limited to 'drivers/usb/cdns3/cdns3-pci-wrap.c')
0 files changed, 0 insertions, 0 deletions
