]> err.no Git - linux-2.6/commit
[PATCH] x86: - restore i8259A eoi status on resume
authorMatthew Garrett <mjg59@srcf.ucam.org>
Tue, 26 Sep 2006 08:52:41 +0000 (10:52 +0200)
committerAndi Kleen <andi@basil.nowhere.org>
Tue, 26 Sep 2006 08:52:41 +0000 (10:52 +0200)
commit35d534a3ff4905c0a7bddbad0fc9df55967742c7
treeb926186d52d0b98f2931e7ad59ec6aefd2e5c641
parentf354b3a92af9b132b188b9c8ebbfb74de699926d
[PATCH] x86: - restore i8259A eoi status on resume

Got it. i8259A_resume calls init_8259A(0) unconditionally, even if
auto_eoi has been set. Keep track of the current status and restore that
on resume. This fixes it for AMD64 and i386.

Signed-off-by: Matthew Garrett <mjg59@srcf.ucam.org>
Signed-off-by: Andi Kleen <ak@suse.de>
arch/i386/kernel/i8259.c
arch/x86_64/kernel/i8259.c