projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a848f6
)
[PATCH] x86_64: Don't assume future AMD CPUs have K8 compatible performance counters
author
Andi Kleen
<ak@suse.de>
Sat, 16 Apr 2005 22:25:07 +0000
(15:25 -0700)
committer
Linus Torvalds
<torvalds@ppc970.osdl.org>
Sat, 16 Apr 2005 22:25:07 +0000
(15:25 -0700)
The NMI watchdog code did this incorrectly
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/x86_64/kernel/nmi.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/x86_64/kernel/nmi.c
b/arch/x86_64/kernel/nmi.c
index d9867de6a6263bfbc8843e6798bef6f44a1c7eec..6ec5217f4b73291fdf515a9d8b218452fd55acb5 100644
(file)
--- a/
arch/x86_64/kernel/nmi.c
+++ b/
arch/x86_64/kernel/nmi.c
@@
-336,7
+336,7
@@
void setup_apic_nmi_watchdog(void)
{
switch (boot_cpu_data.x86_vendor) {
case X86_VENDOR_AMD:
- if (boot_cpu_data.x86
< 6
)
+ if (boot_cpu_data.x86
!= 15
)
return;
if (strstr(boot_cpu_data.x86_model_id, "Screwdriver"))
return;