aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/rust
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2025-11-25 22:50:49 +0100
committerThomas Gleixner <tglx@linutronix.de>2025-12-17 18:44:17 +0100
commit64d4c88270cf90089434e3db67ed443fd982a9a2 (patch)
tree55ff1827475cd6e537299ee1c78bda86b9cfd44d /Documentation/rust
parent329e2051476858f264e2c217c6db4e68e203d5db (diff)
downloadtip-x86/irq.tar.gz
x86/irq_remapping: Sanitize posted_msi_supported()x86/irq
posted_msi_supported() is a misnomer as it actually checks whether it is enabled or not. Aside of that this does not take CONFIG_X86_POSTED_MSI into account which is required to actually use it. Rename it to posted_msi_enabled() and make the return value depend on CONFIG_X86_POSTED_MSI, which allows the compiler to eliminate the related dead code and data if disabled: text data bss dec hex filename 10046 701 3296 14043 36db drivers/iommu/intel/irq_remapping.o 9904 413 3296 13613 352d drivers/iommu/intel/irq_remapping.o Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Link: https://patch.msgid.link/20251125214631.170499997@linutronix.de
Diffstat (limited to 'Documentation/rust')
0 files changed, 0 insertions, 0 deletions