]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
oprofile: Don't report Nehalem as core_2
authorAndi Kleen <ak@linux.intel.com>
Wed, 20 Aug 2008 15:22:02 +0000 (17:22 +0200)
committerRobert Richter <robert.richter@amd.com>
Mon, 13 Oct 2008 17:25:06 +0000 (19:25 +0200)
This essentially reverts Linus' earlier 4b9f12a3779c548b68bc9af7d94030868ad3aa1b
commit. Nehalem is not core_2, so it shouldn't be reported as such.
However with the earlier arch perfmon patch it will fall back to
arch perfmon mode now, so there is no need to fake it as core_2.
The only drawback is that Linus will need to patch the arch perfmon
support into his oprofile binary now, but I think he can do that.

Signed-off-by: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Robert Richter <robert.richter@amd.com>
arch/x86/oprofile/nmi_int.c

index 57f6c90880816b113074cf306f678f8781c04d50..1059f3fe6b1de2e062a7e45473cdf9ee08b2850c 100644 (file)
@@ -420,9 +420,6 @@ static int __init ppro_init(char **cpu_type)
        case 15: case 23:
                *cpu_type = "i386/core_2";
                break;
-       case 26:
-               *cpu_type = "i386/core_2";
-               break;
        default:
                /* Unknown */
                return 0;