Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 67757
b: refs/heads/master
c: abc63fc
h: refs/heads/master
i:
  67755: b1d38a6
v: v3
  • Loading branch information
Thomas Gleixner authored and Thomas Gleixner committed Oct 12, 2007
1 parent 3deeacb commit d85ed17
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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: b58eb00df7f7f80b7f456bf8fb740fddf14408ba
refs/heads/master: abc63fcd3cc61876b2d6f5b0d08021bd1538385c
8 changes: 4 additions & 4 deletions trunk/arch/x86/kernel/apic_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -783,7 +783,7 @@ static void __setup_APIC_LVTT(unsigned int clocks, int oneshot, int irqen)
apic_write(APIC_TMICT, clocks);
}

static void setup_APIC_timer(unsigned int clocks)
static void setup_APIC_timer(void)
{
unsigned long flags;
int irqen;
Expand All @@ -792,7 +792,7 @@ static void setup_APIC_timer(unsigned int clocks)

irqen = ! cpu_isset(smp_processor_id(),
timer_interrupt_broadcast_ipi_mask);
__setup_APIC_LVTT(clocks, 0, irqen);
__setup_APIC_LVTT(calibration_result, 0, irqen);
/* Turn off PIT interrupt if we use APIC timer as main timer.
Only works with the PM timer right now
TBD fix it for HPET too. */
Expand Down Expand Up @@ -879,15 +879,15 @@ void __init setup_boot_APIC_clock (void)
/*
* Now set up the timer for real.
*/
setup_APIC_timer(calibration_result);
setup_APIC_timer();

local_irq_enable();
}

void __cpuinit setup_secondary_APIC_clock(void)
{
local_irq_disable(); /* FIXME: Do we need this? --RR */
setup_APIC_timer(calibration_result);
setup_APIC_timer();
local_irq_enable();
}

Expand Down

0 comments on commit d85ed17

Please sign in to comment.