Browse Source

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
Linus Torvalds 17 years ago
parent
commit
977c8fa4d7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      arch/x86/oprofile/nmi_int.c

+ 1 - 1
arch/x86/oprofile/nmi_int.c

@@ -380,7 +380,7 @@ static int __init ppro_init(char ** cpu_type)
 
 
 	if (cpu_model == 14)
 	if (cpu_model == 14)
 		*cpu_type = "i386/core";
 		*cpu_type = "i386/core";
-	else if (cpu_model == 15)
+	else if (cpu_model == 15 || cpu_model == 23)
 		*cpu_type = "i386/core_2";
 		*cpu_type = "i386/core_2";
 	else if (cpu_model > 0xd)
 	else if (cpu_model > 0xd)
 		return 0;
 		return 0;