projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bfdab12
)
xen: count resched interrupts properly
author
Jeremy Fitzhardinge
<jeremy@goop.org>
Mon, 26 May 2008 22:31:16 +0000
(23:31 +0100)
committer
Thomas Gleixner
<tglx@linutronix.de>
Tue, 27 May 2008 08:11:37 +0000
(10:11 +0200)
Make sure resched interrupts appear in /proc/interrupts in the proper
place.
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/xen/smp.c
patch
|
blob
|
history
diff --git
a/arch/x86/xen/smp.c
b/arch/x86/xen/smp.c
index 94e69000f9826e80da488a694477ee329998d230..74ab8968c525340dd5f058eb8b17f920da1698dc 100644
(file)
--- a/
arch/x86/xen/smp.c
+++ b/
arch/x86/xen/smp.c
@@
-65,6
+65,12
@@
static struct call_data_struct *call_data;
*/
static irqreturn_t xen_reschedule_interrupt(int irq, void *dev_id)
{
+#ifdef CONFIG_X86_32
+ __get_cpu_var(irq_stat).irq_resched_count++;
+#else
+ add_pda(irq_resched_count, 1);
+#endif
+
return IRQ_HANDLED;
}