summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@woody.linux-foundation.org>2008-01-18 23:06:08 +0100
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2008-01-18 23:06:08 +0100
commit977c8fa4d75d4ebe7ebbe116eed9e06f780fb34d (patch)
tree6b030df34c579fbf3717d2d258c16aa803947874
parentSelecting LGUEST should turn on Guest support, as in 2.6.23. (diff)
parentx86: add support for the latest Intel processors to Oprofile (diff)
downloadlinux-977c8fa4d75d4ebe7ebbe116eed9e06f780fb34d.tar.xz
linux-977c8fa4d75d4ebe7ebbe116eed9e06f780fb34d.zip
Merge git://git.kernel.org/pub/scm/linux/kernel/git/x86/linux-2.6-x86
* git://git.kernel.org/pub/scm/linux/kernel/git/x86/linux-2.6-x86: x86: add support for the latest Intel processors to Oprofile
-rw-r--r--arch/x86/oprofile/nmi_int.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/oprofile/nmi_int.c b/arch/x86/oprofile/nmi_int.c
index 2d0eeac7251f..944bbcdd2b8d 100644
--- a/arch/x86/oprofile/nmi_int.c
+++ b/arch/x86/oprofile/nmi_int.c
@@ -380,7 +380,7 @@ static int __init ppro_init(char ** cpu_type)
if (cpu_model == 14)
*cpu_type = "i386/core";
- else if (cpu_model == 15)
+ else if (cpu_model == 15 || cpu_model == 23)
*cpu_type = "i386/core_2";
else if (cpu_model > 0xd)
return 0;