no user now
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
static DEFINE_SPINLOCK(ioapic_lock);
static DEFINE_SPINLOCK(vector_lock);
-int first_free_entry;
-/*
- * Rough estimation of how many shared IRQs there are, can
- * be changed anytime.
- */
-int pin_map_size;
-
/*
* # of IRQ routing registers
*/
nr_irqs = 32 * nr_cpu_ids + 224;
init_cpu_to_node();
#endif
-#ifdef CONFIG_X86_IO_APIC
- pin_map_size = nr_irqs * 2;
- first_free_entry = nr_irqs;
-#endif
init_apic_mappings();
ioapic_init_mappings();
#include <asm/apicdef.h>
#include <asm/irq_vectors.h>
-extern int pin_map_size;
-extern int first_free_entry;
-
static inline int irq_canonicalize(int irq)
{
return ((irq == 2) ? 9 : irq);