x86/amd-iommu: Add device bind reference counting
authorJoerg Roedel <joerg.roedel@amd.com>
Wed, 25 Nov 2009 14:59:57 +0000 (15:59 +0100)
committerJoerg Roedel <joerg.roedel@amd.com>
Fri, 27 Nov 2009 13:20:33 +0000 (14:20 +0100)
This patch adds a reference count to each device to count
how often the device was bound to that domain. This is
important for single devices that act as an alias for a
number of others. These devices must stay bound to their
domains until all devices that alias to it are unbound from
the same domain.

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>

No differences found