x86, dmar: use atomic allocations for QI and Intr-remapping init
authorSuresh Siddha <suresh.b.siddha@intel.com>
Tue, 17 Mar 2009 00:05:05 +0000 (17:05 -0700)
committerH. Peter Anvin <hpa@linux.intel.com>
Tue, 17 Mar 2009 23:49:30 +0000 (16:49 -0700)
commitfa4b57cc045d6134b9862b2873f9c8ba9ed53ffe
tree7c31d15426e29d86314545be3cf9553ab91ef574
parent68a8ca593fac82e336a792226272455901fa83df
x86, dmar: use atomic allocations for QI and Intr-remapping init

Impact: invalid use of GFP_KERNEL in interrupt context

Queued invalidation and interrupt-remapping will get initialized with
interrupts disabled (while enabling interrupt-remapping). So use
GFP_ATOMIC instead of GFP_KERNEL for memory alloacations.

Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
drivers/pci/dmar.c
drivers/pci/intr_remapping.c