The patch titled Enable OProfile on Pentium D has been added to the -mm tree. Its filename is enable-oprofile-on-pentium-d.patch See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: Enable OProfile on Pentium D From: "Santos, Jose Renato G" <joserenato.santos@xxxxxx> OProfile does not recognize Pentium D (Intel cpu model 6 for p4 family) This prevents Oprofile from using hw performance counters on those CPUs This patch enables Oprofile on those CPUs. Signed-off-by: Jose Renato Santos <jsantos@xxxxxxxxxx> Cc: Philippe Elie <phil.el@xxxxxxxxxx> Cc: John Levon <levon@xxxxxxxxxxxxxxxxx> Cc: Andi Kleen <ak@xxxxxx> Cc: Rohit Seth <rohitseth@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- arch/i386/oprofile/nmi_int.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN arch/i386/oprofile/nmi_int.c~enable-oprofile-on-pentium-d arch/i386/oprofile/nmi_int.c --- a/arch/i386/oprofile/nmi_int.c~enable-oprofile-on-pentium-d +++ a/arch/i386/oprofile/nmi_int.c @@ -331,7 +331,7 @@ static int __init p4_init(char ** cpu_ty { __u8 cpu_model = boot_cpu_data.x86_model; - if (cpu_model > 4) + if ((cpu_model > 6) || (cpu_model == 5)) return 0; #ifndef CONFIG_SMP _ Patches currently in -mm which might be from joserenato.santos@xxxxxx are enable-oprofile-on-pentium-d.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html