]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
x86, AMD IOMMU: replace memset with __GFP_ZERO for table allocation
authorJoerg Roedel <joerg.roedel@amd.com>
Fri, 11 Jul 2008 15:14:32 +0000 (17:14 +0200)
committerIngo Molnar <mingo@elte.hu>
Fri, 11 Jul 2008 16:01:16 +0000 (18:01 +0200)
commit5dc8bff0f6d0dfeb1f1c6e694294ba7c33d099f1
tree46aaf6e9c57eb392db59ad505fe444f20849284b
parent2e22847fbe05f2543ccebd0c2df94d9cf3c52aa5
x86, AMD IOMMU: replace memset with __GFP_ZERO for table allocation

This patch removes the memset from the data structure initialization code and
allocate the structures with the __GFP_ZERO flag.

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Cc: iommu@lists.linux-foundation.org
Cc: bhavna.sarathy@amd.com
Cc: robert.richter@amd.com
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/amd_iommu_init.c