]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
x86: remove first_free_entry/pin_map_size
authorYinghai Lu <yhlu.kernel@gmail.com>
Wed, 20 Aug 2008 03:50:49 +0000 (20:50 -0700)
committerIngo Molnar <mingo@elte.hu>
Thu, 16 Oct 2008 14:52:57 +0000 (16:52 +0200)
no user now

Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/io_apic.c
arch/x86/kernel/setup.c
include/asm-x86/irq.h

index a466b04ad5a42272c4c4d2ffbeb93bf3d5bbdb99..5de2d38812aaf363e257e37e35647667149ada81 100644 (file)
@@ -72,13 +72,6 @@ int sis_apic_bug = -1;
 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
  */
index 02e3a669797738079a22858ea7d2af13b60a248b..d90c659b70e965bb1b5c9355a92d58c081a87ae2 100644 (file)
@@ -1074,10 +1074,6 @@ void __init setup_arch(char **cmdline_p)
                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();
index 2a130c44f5dea1922fe0019133d5374ffe236cda..1e5f2909c1db8c7db9330412444cafb07c0d1149 100644 (file)
@@ -10,9 +10,6 @@
 #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);