AMD IOMMU: allocate rlookup_table with __GFP_ZERO
authorJoerg Roedel <joerg.roedel@amd.com>
Fri, 19 Dec 2008 13:42:13 +0000 (14:42 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 14 Jan 2009 17:44:08 +0000 (09:44 -0800)
commit171075a35117b9eeacc3251816fda5572486c6cf
tree34d6f64d64717248419fdaf75caccd44bd6e2c39
parent8fb9f8d889b104a9acebaff83b637bcc56706576
AMD IOMMU: allocate rlookup_table with __GFP_ZERO

Upstream commit 83fd5cc6481c6b7fa8b45f8a7e0aa7120213430b

This is pointer list and if we dereference an uninitialized pointer
later this results in a kernel crash at boot. Happens typically after
3-5 hours of rebooting.

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/x86/kernel/amd_iommu_init.c