]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
AMD IOMMU: remove unnecessary cast to u64 in the init code
authorJoerg Roedel <joerg.roedel@amd.com>
Wed, 17 Sep 2008 14:45:59 +0000 (16:45 +0200)
committerIngo Molnar <mingo@elte.hu>
Fri, 19 Sep 2008 10:59:29 +0000 (12:59 +0200)
commit199d0d501202f077fe647a5c14fe046b17abc46b
treeda98406b8b7c21a6165366f27f54e1407da5c31a
parentd58befd3a0110c93d70756537b4d01d05a9e6e12
AMD IOMMU: remove unnecessary cast to u64 in the init code

The ctrl variable is only u32 and readl also returns a 32 bit value. So
the cast to u64 is pointless. Remove it with this patch.

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/amd_iommu_init.c