Skip to content
Commit 272e4f99 authored by Joerg Roedel's avatar Joerg Roedel
Browse files

iommu/amd: WARN when __[attach|detach]_device are called with irqs enabled



These functions rely on being called with IRQs disabled. Add
a WARN_ON to detect early when its not.

Signed-off-by: default avatarJoerg Roedel <jroedel@suse.de>
parent f1dd0a8b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment