Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 116466
b: refs/heads/master
c: 2699574
h: refs/heads/master
v: v3
  • Loading branch information
Alok Kataria authored and Ingo Molnar committed Oct 16, 2008
1 parent 9f7714b commit 1ab6c78
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 052c0bff9b83a578654dfa513d6e3d0b3795f1e8
refs/heads/master: 2699574b3c04351f5a23c8a842e17c303d7ebb6f
3 changes: 3 additions & 0 deletions trunk/arch/x86/kernel/vmiclock_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -235,11 +235,14 @@ static void __devinit vmi_time_init_clockevent(void)

void __init vmi_time_init(void)
{
unsigned int cpu;
/* Disable PIT: BIOSes start PIT CH0 with 18.2hz peridic. */
outb_pit(0x3a, PIT_MODE); /* binary, mode 5, LSB/MSB, ch 0 */

vmi_time_init_clockevent();
setup_irq(0, &vmi_clock_action);
for_each_possible_cpu(cpu)
per_cpu(vector_irq, cpu)[vmi_get_timer_vector()] = 0;
}

#ifdef CONFIG_X86_LOCAL_APIC
Expand Down

0 comments on commit 1ab6c78

Please sign in to comment.