OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9175fc0
)
x86: remove extra calling to get ext cpuid level
author
Yinghai Lu
<yhlu.kernel@gmail.com>
Mon, 21 Jul 2008 08:39:03 +0000
(
01:39
-0700)
committer
Ingo Molnar
<mingo@elte.hu>
Mon, 21 Jul 2008 11:03:13 +0000
(13:03 +0200)
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/cpu/common_64.c
patch
|
blob
|
history
diff --git
a/arch/x86/kernel/cpu/common_64.c
b/arch/x86/kernel/cpu/common_64.c
index
0485cf6
..
daee611
100644
(file)
--- a/
arch/x86/kernel/cpu/common_64.c
+++ b/
arch/x86/kernel/cpu/common_64.c
@@
-305,7
+305,6
@@
static void __cpuinit early_identify_cpu(struct cpuinfo_x86 *c)
c->x86_capability[2] = cpuid_edx(0x80860001);
}
- c->extended_cpuid_level = cpuid_eax(0x80000000);
if (c->extended_cpuid_level >= 0x80000007)
c->x86_power = cpuid_edx(0x80000007);