commit | 98fc5a693bbdda498a556654c70d1e31a186c988 | [log] [tgz] |
---|---|---|
author | Joerg Roedel <joerg.roedel@amd.com> | Tue Nov 24 17:19:23 2009 +0100 |
committer | Joerg Roedel <joerg.roedel@amd.com> | Fri Nov 27 14:20:29 2009 +0100 |
tree | 6e53b9a3fd846fab4ff514d724f0ba6825f816af | |
parent | 71c70984e5afc20d304fbb523f1c8bb42c4ceb36 [diff] |
x86/amd-iommu: Use get_device_id and check_device where appropriate The logic of these two functions is reimplemented (at least in parts) in places in the code. This patch removes these code duplications and uses the functions instead. As a side effect it moves check_device() to the helper function code section. Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>