mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-05 00:20:32 +00:00
x86: add support for the latest Intel processors to Oprofile
The latest Intel processors (the 45nm ones) have a model number of 23 (old ones had 15); they're otherwise compatible on the oprofile side. This patch adds the new model number to the oprofile code. Signed-off-by: Arjan van de Ven <arjan@linux.intel.com> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:
parent
03bbe082cf
commit
e107ebe0e4
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue