]> git.baikalelectronics.ru Git - kernel.git/commit
x86, ioapic: Restore ioapic entries during resume properly
authorSuresh Siddha <suresh.b.siddha@intel.com>
Tue, 24 May 2011 17:45:31 +0000 (10:45 -0700)
committerIngo Molnar <mingo@elte.hu>
Tue, 24 May 2011 18:32:41 +0000 (20:32 +0200)
commita499bfe7425fea1fcac78be48b7463ecc6eb66b0
treee594aed350730f13874967b2765d21a7f515ea18
parent518031daaa7a60f33e7eba48ceb16fde01029825
x86, ioapic: Restore ioapic entries during resume properly

In mask/restore_ioapic_entries() we should be restoring ioapic
entries when ioapics[apic].saved_registers is not NULL.

Fix the typo and address the resume hang regression reported by
Linus.

This was not found sooner because the systems where these
changes were tested on kept the IO-APIC entries intact over
resume.

Reported-and-tested-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com>
Cc: Daniel J Blueman <daniel.blueman@gmail.com>
Link: http://lkml.kernel.org/r/1306259131.7171.7.camel@sbsiddha-MOBL3.sc.intel.com
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/apic/io_apic.c