Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 26718
b: refs/heads/master
c: 64471eb
h: refs/heads/master
v: v3
  • Loading branch information
Benjamin LaHaise authored and Linus Torvalds committed May 15, 2006
1 parent f8c0d47 commit 77541ff
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e6333fd4ddf7a583480017f535b9ea53c116ab81
refs/heads/master: 64471ebe534dc6cedd72849b2324b52cb5249eb9
7 changes: 4 additions & 3 deletions trunk/arch/i386/oprofile/nmi_int.c
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down

0 comments on commit 77541ff

Please sign in to comment.