Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 43110
b: refs/heads/master
c: 86bd58b
h: refs/heads/master
v: v3
  • Loading branch information
David Rientjes authored and Andi Kleen committed Dec 7, 2006
1 parent 6d7ac7a commit f2cdc12
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 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: 6df0532eef0187c293d3ab1d4c158f92e8f24f8a
refs/heads/master: 86bd58bf4c383fde4e99b83ce917b091a072040d
4 changes: 1 addition & 3 deletions trunk/arch/x86_64/kernel/apic.c
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,6 @@ void clear_local_APIC(void)
apic_write(APIC_LVTERR, APIC_LVT_MASKED);
if (maxlvt >= 4)
apic_write(APIC_LVTPC, APIC_LVT_MASKED);
v = GET_APIC_VERSION(apic_read(APIC_LVR));
apic_write(APIC_ESR, 0);
apic_read(APIC_ESR);
}
Expand Down Expand Up @@ -736,10 +735,9 @@ void __init init_apic_mappings(void)

static void __setup_APIC_LVTT(unsigned int clocks)
{
unsigned int lvtt_value, tmp_value, ver;
unsigned int lvtt_value, tmp_value;
int cpu = smp_processor_id();

ver = GET_APIC_VERSION(apic_read(APIC_LVR));
lvtt_value = APIC_LVT_TIMER_PERIODIC | LOCAL_TIMER_VECTOR;

if (cpu_isset(cpu, timer_interrupt_broadcast_ipi_mask))
Expand Down

0 comments on commit f2cdc12

Please sign in to comment.