summaryrefslogtreecommitdiff
path: root/drivers/platform/wmi/tests/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@kernel.org>2026-05-17 22:02:24 +0200
committerThomas Gleixner <tglx@kernel.org>2026-05-26 16:21:14 +0200
commit2d62735f1d4a2832af367c9e3de04bfb280a945c (patch)
tree05ae83a77f8488c8ed6eeb3c1f26b6ecab95243d /drivers/platform/wmi/tests/git@git.tavy.me:linux.git
parent4892e5e71ec9c942293cea7fd26e0c76179211ed (diff)
genirq: Calculate precision only when required
Calculating the precision of the interrupt number column on every initial show_interrupt() invocation is a pointless exercise as the underlying maximum number of interrupts rarely changes. Calculate it only when that number is modified and let show_interrupts() use the cached value. Signed-off-by: Thomas Gleixner <tglx@kernel.org> Tested-by: Michael Kelley <mhklinux@outlook.com> Reviewed-by: Dmitry Ilvokhin <d@ilvokhin.com> Reviewed-by: Radu Rendec <radu@rendec.net> Link: https://patch.msgid.link/20260517194931.760664517@kernel.org
Diffstat (limited to 'drivers/platform/wmi/tests/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions