Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 17919
b: refs/heads/master
c: 130951c
h: refs/heads/master
i:
  17917: 95d11f9
  17915: 3356f45
  17911: 3d974df
  17903: fe1b517
  17887: 805bfd6
  17855: ac0799b
  17791: 5f7bd12
  17663: 5ac8c4b
  17407: bd354ad
v: v3
  • Loading branch information
Andi Kleen authored and Linus Torvalds committed Jan 12, 2006
1 parent 8369c6b commit 75e8ca1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 2765130b020c22f803afba74772f33f2ad13bf28
refs/heads/master: 130951ccb14167c20b87e8bed52b60864ed53c2b
6 changes: 6 additions & 0 deletions trunk/arch/x86_64/kernel/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -910,6 +910,10 @@ static int __init init_amd(struct cpuinfo_x86 *c)
}
display_cacheinfo(c);

/* c->x86_power is 8000_0007 edx. Bit 8 is constant TSC */
if (c->x86_power & (1<<8))
set_bit(X86_FEATURE_CONSTANT_TSC, &c->x86_capability);

if (c->extended_cpuid_level >= 0x80000008) {
c->x86_max_cores = (cpuid_ecx(0x80000008) & 0xff) + 1;
if (c->x86_max_cores & (c->x86_max_cores - 1))
Expand Down Expand Up @@ -1268,6 +1272,8 @@ static int show_cpuinfo(struct seq_file *m, void *v)
"ttp", /* thermal trip */
"tm",
"stc"
"?",
"constant_tsc",
};


Expand Down

0 comments on commit 75e8ca1

Please sign in to comment.