Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 71013
b: refs/heads/master
c: c1e3619
h: refs/heads/master
i:
  71011: d545b4e
v: v3
  • Loading branch information
Thomas Gleixner authored and Thomas Gleixner committed Oct 17, 2007
1 parent 8b59843 commit 99d00fa
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 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: c789c037e9d0d93d6081e796ab70b488b2ff69f2
refs/heads/master: c1e3619edd2b3e17450d745e27e335490cafd78d
15 changes: 10 additions & 5 deletions trunk/arch/x86/kernel/cpu/amd.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
#include <asm/io.h>
#include <asm/processor.h>
#include <asm/apic.h>
#include <asm/mach_apic.h>

#include "cpu.h"

Expand Down Expand Up @@ -45,13 +46,17 @@ static __cpuinit int amd_apic_timer_broken(void)
case CPUID_XFAM_10H:
case CPUID_XFAM_11H:
rdmsr(MSR_K8_ENABLE_C1E, lo, hi);
if (lo & ENABLE_C1E_MASK)
if (lo & ENABLE_C1E_MASK) {
if (smp_processor_id() != boot_cpu_physical_apicid)
printk(KERN_INFO "AMD C1E detected late. "
" Force timer broadcast.\n");
return 1;
break;
default:
/* err on the side of caution */
}
break;
default:
/* err on the side of caution */
return 1;
}
}
return 0;
}
#endif
Expand Down

0 comments on commit 99d00fa

Please sign in to comment.