]> err.no Git - linux-2.6/commit
[PATCH] x86: Regard MSRs in lapic_suspend()/lapic_resume()
authorKarsten Wiese <fzu@wemgehoertderstaat.de>
Thu, 7 Dec 2006 01:14:11 +0000 (02:14 +0100)
committerAndi Kleen <andi@basil.nowhere.org>
Thu, 7 Dec 2006 01:14:11 +0000 (02:14 +0100)
commitf990fff427d68af3e4e1d16fe799c106abc0bf53
tree74681deb5738ddbc10fc34f71837902238378f15
parent9a8cb626a08f2c8251291f3c0a049b29665895d2
[PATCH] x86: Regard MSRs in lapic_suspend()/lapic_resume()

Read/Write APIC_LVTPC and APIC_LVTTHMR only,
if get_maxlvt() returns certain values.
This is done like everywhere else in i386/kernel/apic.c,
so I guess its correct.
Suspends/Resumes to disk fine and eleminates an smp_error_interrupt()
here on a K8.

AK: ported to x86-64 too

Signed-off-by: Karsten Wiese <fzu@wemgehoertderstaat.de>
Signed-off-by: Andi Kleen <ak@suse.de>
arch/i386/kernel/apic.c
arch/x86_64/kernel/apic.c