projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e6333fd
)
[PATCH] Add Core Solo and Core Duo support to oprofile
author
Benjamin LaHaise
<
[email protected]
>
Mon, 15 May 2006 16:44:24 +0000
(09:44 -0700)
committer
Linus Torvalds
<
[email protected]
>
Mon, 15 May 2006 18:20:56 +0000
(11:20 -0700)
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 <
[email protected]
>
Cc: Philippe Elie <
[email protected]
>
Cc: John Levon <
[email protected]
>
Cc: <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
arch/i386/oprofile/nmi_int.c
patch
|
blob
|
history
diff --git
a/arch/i386/oprofile/nmi_int.c
b/arch/i386/oprofile/nmi_int.c
index 1a2076ce6f6a7107346a46ce29cfb8a956d2aed9..ec0fd3cfa774aa575fe6c3cf42da2af2c0e56f96 100644
(file)
--- a/
arch/i386/oprofile/nmi_int.c
+++ b/
arch/i386/oprofile/nmi_int.c
@@
-332,10
+332,11
@@
static int __init ppro_init(char ** cpu_type)
{
__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";