+ add-core-solo-and-core-duo-support-to-oprofile.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled

     Add Core Solo and Core Duo support to oprofile

has been added to the -mm tree.  Its filename is

     add-core-solo-and-core-duo-support-to-oprofile.patch

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this


From: Benjamin LaHaise <bcrl@xxxxxxxxx>

Add support to oprofile for the Intel Core Solo and Core Duo processors. 
See also the patch to add support to oprofile-0.9.1-8.1.1 at
http://www.kvack.org/~bcrl/patches/oprofile/oprofile-core-0.9.1.diff .

Signed-off-by: Benjamin LaHaise <benjamin.c.lahaise@xxxxxxxxx>
Cc: Philippe Elie <phil.el@xxxxxxxxxx>
Cc: John Levon <levon@xxxxxxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 arch/i386/oprofile/nmi_int.c |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff -puN arch/i386/oprofile/nmi_int.c~add-core-solo-and-core-duo-support-to-oprofile arch/i386/oprofile/nmi_int.c
--- devel/arch/i386/oprofile/nmi_int.c~add-core-solo-and-core-duo-support-to-oprofile	2006-05-10 23:27:23.000000000 -0700
+++ devel-akpm/arch/i386/oprofile/nmi_int.c	2006-05-10 23:27:23.000000000 -0700
@@ -332,10 +332,11 @@ static int __init ppro_init(char ** cpu_
 {
 	__u8 cpu_model = boot_cpu_data.x86_model;
 
-	if (cpu_model > 0xd)
+	if (cpu_model == 14)
+		*cpu_type = "i386/core";
+	else if (cpu_model > 0xd)
 		return 0;
-
-	if (cpu_model == 9) {
+	else if (cpu_model == 9) {
 		*cpu_type = "i386/p6_mobile";
 	} else if (cpu_model > 5) {
 		*cpu_type = "i386/piii";
_

Patches currently in -mm which might be from bcrl@xxxxxxxxx are

add-core-solo-and-core-duo-support-to-oprofile.patch
drivers-net-ns83820c-add-paramter-to-disable-auto.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

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux