x86: Add support for the latest Intel processors to Oprofile
Subject: x86: Add support for the latest Intel processors to Oprofile
From: Arjan van de Ven <[email protected]>
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.
--- arch/x86/oprofile/nmi_int.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/x86/oprofile/nmi_int.c +1 -1
@@ -380,7 +380,7 @@ static int __init ppro_init(char ** cpu_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 ;
Signature · 3 lines
If you want to reach me at my work email, use [email protected] For development, discussion and tips for power savings, visit http://www.lesswatts.org
Ingo Molnar
AppliedQuoted 6 lines · Arjan van de Ven
Subject: x86: Add support for the latest Intel processors to Oprofile
From: Arjan van de Ven <[email protected]>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.
thanks, applied.
2.6.24 fix too, right?
Ingo
Quoted 6 lines · On Fri, 18 Jan 2008 13:36:11 +0100 Ingo Molnar <[email protected]> wrote:
Quoted 3 lines · Arjan van de Ven
Subject: x86: Add support for the latest Intel processors to Oprofile From: Arjan van de Ven <[email protected]>
Quoted 8 lines
Quoted 3 lines
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.
thanks, applied.
2.6.24 fix too, right?
that's a judgement call ... it's sure simple enough
Signature · 3 lines
If you want to reach me at my work email, use [email protected] For development, discussion and tips for power savings, visit http://www.lesswatts.org