diff options
author | Ohad Ben-Cohen <ohad@wizery.com> | 2011-10-13 15:53:18 +0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-10-17 12:13:42 +0400 |
commit | cfb470b336f8bb69150697bde1316cf5fdad08fc (patch) | |
tree | c522a64bef4077557179b1f07823672c5f65e017 /arch/arm/tools | |
parent | 01885bc5ce5a58e043e00f3f295301ef1b9a0fc4 (diff) | |
download | linux-cfb470b336f8bb69150697bde1316cf5fdad08fc.tar.xz |
ARM: 7130/1: dev_archdata: add private iommu extension
Add a private iommu pointer to the ARM-specific arch data in the
device struct, which will be used to attach iommu-specific data
to devices which require iommu support.
Different iommu implementations (on different platforms) will attach
different types of data to this pointer, so 'void *' is currently used
(the downside is reduced typesafety).
Note: ia64, x86 and sparc have this exact iommu extension as well, and
if others are likely to adopt it too, we might want to consider
adding this to the device struct itself directly.
Signed-off-by: Ohad Ben-Cohen <ohad@wizery.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/tools')
0 files changed, 0 insertions, 0 deletions