Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 366229
b: refs/heads/master
c: 1077c93
h: refs/heads/master
i:
  366227: dd4e359
v: v3
  • Loading branch information
Borislav Petkov committed Apr 16, 2013
1 parent eedfe51 commit e048a99
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 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: 682469a5db6fade318a72406935b5000186e5643
refs/heads/master: 1077c932db63ecc571c31df1c24d4a44e30928e5
9 changes: 3 additions & 6 deletions trunk/arch/x86/kernel/cpu/amd.c
Original file line number Diff line number Diff line change
Expand Up @@ -192,11 +192,11 @@ static void __cpuinit amd_k7_smp_check(struct cpuinfo_x86 *c)
/* Athlon 660/661 is valid. */
if ((c->x86_model == 6) && ((c->x86_mask == 0) ||
(c->x86_mask == 1)))
goto valid_k7;
return;

/* Duron 670 is valid */
if ((c->x86_model == 7) && (c->x86_mask == 0))
goto valid_k7;
return;

/*
* Athlon 662, Duron 671, and Athlon >model 7 have capability
Expand All @@ -209,7 +209,7 @@ static void __cpuinit amd_k7_smp_check(struct cpuinfo_x86 *c)
((c->x86_model == 7) && (c->x86_mask >= 1)) ||
(c->x86_model > 7))
if (cpu_has_mp)
goto valid_k7;
return;

/* If we get here, not a certified SMP capable AMD system. */

Expand All @@ -220,9 +220,6 @@ static void __cpuinit amd_k7_smp_check(struct cpuinfo_x86 *c)
WARN_ONCE(1, "WARNING: This combination of AMD"
" processors is not suitable for SMP.\n");
add_taint(TAINT_UNSAFE_SMP, LOCKDEP_NOW_UNRELIABLE);

valid_k7:
;
}

static void __cpuinit init_amd_k7(struct cpuinfo_x86 *c)
Expand Down

0 comments on commit e048a99

Please sign in to comment.