diff options
author | Yinghai Lu <yhlu.kernel@gmail.com> | 2008-08-19 23:50:49 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-10-16 10:52:57 -0400 |
commit | 29ccbbf232c035b8c7ff0c5060fbe30a66ed9b99 (patch) | |
tree | 4b08233d4f1a9dee791e496103570c3acff30652 /arch | |
parent | 3eb2cce84beae8fd41de950569cafd5bca7edd5d (diff) |
x86: remove first_free_entry/pin_map_size
no user now
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86/kernel/io_apic.c | 7 | ||||
-rw-r--r-- | arch/x86/kernel/setup.c | 4 |
2 files changed, 0 insertions, 11 deletions
diff --git a/arch/x86/kernel/io_apic.c b/arch/x86/kernel/io_apic.c index a466b04ad5a4..5de2d38812aa 100644 --- a/arch/x86/kernel/io_apic.c +++ b/arch/x86/kernel/io_apic.c | |||
@@ -72,13 +72,6 @@ int sis_apic_bug = -1; | |||
72 | static DEFINE_SPINLOCK(ioapic_lock); | 72 | static DEFINE_SPINLOCK(ioapic_lock); |
73 | static DEFINE_SPINLOCK(vector_lock); | 73 | static DEFINE_SPINLOCK(vector_lock); |
74 | 74 | ||
75 | int first_free_entry; | ||
76 | /* | ||
77 | * Rough estimation of how many shared IRQs there are, can | ||
78 | * be changed anytime. | ||
79 | */ | ||
80 | int pin_map_size; | ||
81 | |||
82 | /* | 75 | /* |
83 | * # of IRQ routing registers | 76 | * # of IRQ routing registers |
84 | */ | 77 | */ |
diff --git a/arch/x86/kernel/setup.c b/arch/x86/kernel/setup.c index 02e3a6697977..d90c659b70e9 100644 --- a/arch/x86/kernel/setup.c +++ b/arch/x86/kernel/setup.c | |||
@@ -1074,10 +1074,6 @@ void __init setup_arch(char **cmdline_p) | |||
1074 | nr_irqs = 32 * nr_cpu_ids + 224; | 1074 | nr_irqs = 32 * nr_cpu_ids + 224; |
1075 | init_cpu_to_node(); | 1075 | init_cpu_to_node(); |
1076 | #endif | 1076 | #endif |
1077 | #ifdef CONFIG_X86_IO_APIC | ||
1078 | pin_map_size = nr_irqs * 2; | ||
1079 | first_free_entry = nr_irqs; | ||
1080 | #endif | ||
1081 | 1077 | ||
1082 | init_apic_mappings(); | 1078 | init_apic_mappings(); |
1083 | ioapic_init_mappings(); | 1079 | ioapic_init_mappings(); |