diff options
author | 2009-03-16 17:05:03 -0700 | |
---|---|---|
committer | 2009-03-17 15:45:29 -0700 | |
commit | 05c3dc2c4b60387769cbe73174347de4cf85f0c9 (patch) | |
tree | 7e5918518c5f22f6121ff885283bef5397a0a842 /kernel/irq/pm.c | |
parent | x86, x2apic: cleanup ifdef CONFIG_INTR_REMAP in io_apic code (diff) | |
download | wireguard-linux-05c3dc2c4b60387769cbe73174347de4cf85f0c9.tar.xz wireguard-linux-05c3dc2c4b60387769cbe73174347de4cf85f0c9.zip |
x86, ioapic: Fix non atomic allocation with interrupts disabled
Impact: fix possible race
save_mask_IO_APIC_setup() was using non atomic memory allocation while getting
called with interrupts disabled. Fix this by splitting this into two different
function. Allocation part save_IO_APIC_setup() now happens before
disabling interrupts.
Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'kernel/irq/pm.c')
0 files changed, 0 insertions, 0 deletions