]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
x86: add support for the latest Intel processors to Oprofile
authorArjan van de Ven <arjan@infradead.org>
Fri, 18 Jan 2008 21:49:33 +0000 (22:49 +0100)
committerIngo Molnar <mingo@elte.hu>
Fri, 18 Jan 2008 21:49:33 +0000 (22:49 +0100)
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>
arch/x86/oprofile/nmi_int.c

index 2d0eeac7251f7bc3bca55b4b5b990ab5234d6917..944bbcdd2b8d47035c4202c3331c44d19fdae787 100644 (file)
@@ -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;