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 3f92b134ab90..7e558db362c1 100644 --- a/arch/x86/kernel/smp.c +++ b/arch/x86/kernel/smp.c | |||
@@ -165,11 +165,7 @@ static void native_smp_send_stop(void) | |||
165 | void smp_reschedule_interrupt(struct pt_regs *regs) | 165 | void smp_reschedule_interrupt(struct pt_regs *regs) |
166 | { | 166 | { |
167 | ack_APIC_irq(); | 167 | ack_APIC_irq(); |
168 | #ifdef CONFIG_X86_32 | 168 | inc_irq_stat(irq_resched_count); |
169 | __get_cpu_var(irq_stat).irq_resched_count++; | ||
170 | #else | ||
171 | add_pda(irq_resched_count, 1); | ||
172 | #endif | ||
173 | } | 169 | } |
174 | 170 | ||
175 | void smp_call_function_interrupt(struct pt_regs *regs) | 171 | void smp_call_function_interrupt(struct pt_regs *regs) |
@@ -177,11 +173,7 @@ void smp_call_function_interrupt(struct pt_regs *regs) | |||
177 | ack_APIC_irq(); | 173 | ack_APIC_irq(); |
178 | irq_enter(); | 174 | irq_enter(); |
179 | generic_smp_call_function_interrupt(); | 175 | generic_smp_call_function_interrupt(); |
180 | #ifdef CONFIG_X86_32 | 176 | inc_irq_stat(irq_call_count); |
181 | __get_cpu_var(irq_stat).irq_call_count++; | ||
182 | #else | ||
183 | add_pda(irq_call_count, 1); | ||
184 | #endif | ||
185 | irq_exit(); | 177 | irq_exit(); |
186 | } | 178 | } |
187 | 179 | ||
@@ -190,11 +182,7 @@ void smp_call_function_single_interrupt(struct pt_regs *regs) | |||
190 | ack_APIC_irq(); | 182 | ack_APIC_irq(); |
191 | irq_enter(); | 183 | irq_enter(); |
192 | generic_smp_call_function_single_interrupt(); | 184 | generic_smp_call_function_single_interrupt(); |
193 | #ifdef CONFIG_X86_32 | 185 | 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(); | 186 | irq_exit(); |
199 | } | 187 | } |
200 | 188 | ||