]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - arch/x86/kernel/cpu/mtrr/generic.c
i386: mtrr crash fix
authorAndrew Morton <akpm@linux-foundation.org>
Sun, 1 Jul 2007 19:06:48 +0000 (12:06 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sun, 1 Jul 2007 19:29:44 +0000 (12:29 -0700)
commit84288ad89e9736c7478e138f247397b9ab7a9d28
tree99f7757516d3d9fe85a16560d09479b5a29b0cbf
parent5ebffd7c05391693b71d3326c8c78ff82f728ed0
i386: mtrr crash fix

Commit 3ebad5905609476a4ff1151a66b21d9794009961 ("[PATCH] x86: Save and
restore the fixed-range MTRRs of the BSP when suspending") added mtrr
operations without verifying that the CPU has MTRRs.  Crashes transmeta
CPUs.

Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: <linux@horizon.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/i386/kernel/cpu/mtrr/generic.c