diff options
author | Cristian Ciocaltea <cristian.ciocaltea@collabora.com> | 2025-02-07 14:46:05 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2025-02-10 16:41:51 +0300 |
commit | ccc8480d90e8cb60f06bd90e227f34784927e19f (patch) | |
tree | ba3eedbb1bee5f46eefce43a173443593ee97e02 /scripts/generate_rust_analyzer.py | |
parent | ac84ca815adb4171a4276b1d44096b75f6a150b7 (diff) | |
download | linux-ccc8480d90e8cb60f06bd90e227f34784927e19f.tar.xz |
ASoC: SOF: amd: Add branch prediction hint in ACP IRQ handler
The conditional involving sdev->first_boot in acp_sof_ipc_irq_thread()
will succeed only once, i.e. during the very first run of the
DSP firmware.
Use the unlikely() annotation to help improve branch prediction
accuracy.
Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com>
Reviewed-by: Venkata Prasad Potturu <venkataprasad.potturu@amd.com>
Link: https://patch.msgid.link/20250207-sof-vangogh-fixes-v1-4-67824c1e4c9a@collabora.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions