Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 107632
b: refs/heads/master
c: 43f5892
h: refs/heads/master
v: v3
  • Loading branch information
David S. Miller committed Aug 4, 2008
1 parent 06b371d commit f3e5233
Show file tree
Hide file tree
Showing 2 changed files with 17 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: 91a4231cc2efb9134373bb2a93be96a284955607
refs/heads/master: 43f589235e223418d5807ebcddca73ec8a45f52c
19 changes: 16 additions & 3 deletions trunk/arch/sparc64/kernel/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -915,12 +915,18 @@ static void __init sun4v_init_mondo_queues(void)
alloc_one_mondo(&tb->nonresum_mondo_pa, tb->nonresum_qmask);
alloc_one_kbuf(&tb->nonresum_kernel_buf_pa,
tb->nonresum_qmask);
}
}

static void __init init_send_mondo_info(void)
{
int cpu;

for_each_possible_cpu(cpu) {
struct trap_per_cpu *tb = &trap_block[cpu];

init_cpu_send_mondo_info(tb);
}

/* Load up the boot cpu's entries. */
sun4v_register_mondo_queues(hard_smp_processor_id());
}

static struct irqaction timer_irq_action = {
Expand Down Expand Up @@ -949,6 +955,13 @@ void __init init_IRQ(void)
if (tlb_type == hypervisor)
sun4v_init_mondo_queues();

init_send_mondo_info();

if (tlb_type == hypervisor) {
/* Load up the boot cpu's entries. */
sun4v_register_mondo_queues(hard_smp_processor_id());
}

/* We need to clear any IRQ's pending in the soft interrupt
* registers, a spurious one could be left around from the
* PROM timer which we just disabled.
Expand Down

0 comments on commit f3e5233

Please sign in to comment.