diff options
author | Andreas Herrmann <[email protected]> | 2008-10-16 16:27:36 +0200 |
---|---|---|
committer | David Woodhouse <[email protected]> | 2008-10-18 14:29:30 +0100 |
commit | f609891f428e1c20e270e7c350daf8c93cc459d7 (patch) | |
tree | c08fe134b55bdb13b7d0f4c4105cd683037d7cfb /net/lapb | |
parent | 5b6985ce8ec7127b4d60ad450b64ca8b82748a3b (diff) |
amd_iommu: fix nasty bug that caused ILLEGAL_DEVICE_TABLE_ENTRY errors
We are on 64-bit so better use u64 instead of u32 to deal with
addresses:
static void __init iommu_set_device_table(struct amd_iommu *iommu)
{
u64 entry;
...
entry = virt_to_phys(amd_iommu_dev_table);
...
(I am wondering why gcc 4.2.x did not warn about the assignment
between u32 and unsigned long.)
Cc: [email protected]
Cc: [email protected]
Signed-off-by: Andreas Herrmann <[email protected]>
Signed-off-by: Joerg Roedel <[email protected]>
Signed-off-by: David Woodhouse <[email protected]>
Diffstat (limited to 'net/lapb')
0 files changed, 0 insertions, 0 deletions