don't call verify_copy_pirq_routing_table() if it's not there.

Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>



git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5137 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Stefan Reinauer 2010-02-22 07:28:06 +00:00 committed by Stefan Reinauer
parent de3206a7be
commit 159b012132
1 changed files with 2 additions and 0 deletions

View File

@ -93,7 +93,9 @@ unsigned long copy_pirq_routing_table(unsigned long addr)
printk_info("Copying Interrupt Routing Table to 0x%08lx... ", addr); printk_info("Copying Interrupt Routing Table to 0x%08lx... ", addr);
memcpy((void *)addr, &intel_irq_routing_table, intel_irq_routing_table.size); memcpy((void *)addr, &intel_irq_routing_table, intel_irq_routing_table.size);
printk_info("done.\n"); printk_info("done.\n");
#if CONFIG_DEBUG
verify_copy_pirq_routing_table(addr); verify_copy_pirq_routing_table(addr);
#endif
pirq_routing_irqs(addr); pirq_routing_irqs(addr);
return addr + intel_irq_routing_table.size; return addr + intel_irq_routing_table.size;
} }