diff options
Diffstat (limited to 'arch/x86/kernel/smp.c')
-rw-r--r-- | arch/x86/kernel/smp.c | 18 |
1 files changed, 3 insertions, 15 deletions
diff --git a/arch/x86/kernel/smp.c b/arch/x86/kernel/smp.c index 18f9b19f5f8f..d18537ce2c79 100644 --- a/arch/x86/kernel/smp.c +++ b/arch/x86/kernel/smp.c | |||
@@ -178,11 +178,7 @@ static void native_smp_send_stop(void) | |||
178 | void smp_reschedule_interrupt(struct pt_regs *regs) | 178 | void smp_reschedule_interrupt(struct pt_regs *regs) |
179 | { | 179 | { |
180 | ack_APIC_irq(); | 180 | ack_APIC_irq(); |
181 | #ifdef CONFIG_X86_32 | 181 | inc_irq_stat(irq_resched_count); |
182 | __get_cpu_var(irq_stat).irq_resched_count++; | ||
183 | #else | ||
184 | add_pda(irq_resched_count, 1); | ||
185 | #endif | ||
186 | } | 182 | } |
187 | 183 | ||
188 | void smp_call_function_interrupt(struct pt_regs *regs) | 184 | void smp_call_function_interrupt(struct pt_regs *regs) |
@@ -190,11 +186,7 @@ void smp_call_function_interrupt(struct pt_regs *regs) | |||
190 | ack_APIC_irq(); | 186 | ack_APIC_irq(); |
191 | irq_enter(); | 187 | irq_enter(); |
192 | generic_smp_call_function_interrupt(); | 188 | generic_smp_call_function_interrupt(); |
193 | #ifdef CONFIG_X86_32 | 189 | inc_irq_stat(irq_call_count); |
194 | __get_cpu_var(irq_stat).irq_call_count++; | ||
195 | #else | ||
196 | add_pda(irq_call_count, 1); | ||
197 | #endif | ||
198 | irq_exit(); | 190 | irq_exit(); |
199 | } | 191 | } |
200 | 192 | ||
@@ -203,11 +195,7 @@ void smp_call_function_single_interrupt(struct pt_regs *regs) | |||
203 | ack_APIC_irq(); | 195 | ack_APIC_irq(); |
204 | irq_enter(); | 196 | irq_enter(); |
205 | generic_smp_call_function_single_interrupt(); | 197 | generic_smp_call_function_single_interrupt(); |
206 | #ifdef CONFIG_X86_32 | 198 | inc_irq_stat(irq_call_count); |
207 | __get_cpu_var(irq_stat).irq_call_count++; | ||
208 | #else | ||
209 | add_pda(irq_call_count, 1); | ||
210 | #endif | ||
211 | irq_exit(); | 199 | irq_exit(); |
212 | } | 200 | } |
213 | 201 | ||