Re: [PATCH] [5/58] x86_64: Report the pending irq if available in smp_affinity

2007-07-19 Thread Ingo Molnar
* Andi Kleen <[EMAIL PROTECTED]> wrote: > - int len = cpumask_scnprintf(page, count, irq_desc[(long)data].affinity); > + struct irq_desc *desc = irq_desc + (long)data; > + cpumask_t *mask = >affinity; > + int len; > +#ifdef CONFIG_GENERIC_PENDING_IRQ > + if (desc->status &

[PATCH] [5/58] x86_64: Report the pending irq if available in smp_affinity

2007-07-19 Thread Andi Kleen
Otherwise smp_affinity would only update after the next interrupt on x86 systems. Cc: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Signed-off-by: Andi Kleen <[EMAIL PROTECTED]> --- kernel/irq/proc.c |9 - 1 file changed, 8 insertions(+), 1 deletion(-) Index: linux/kernel/irq/proc.c

[PATCH] [5/58] x86_64: Report the pending irq if available in smp_affinity

2007-07-19 Thread Andi Kleen
Otherwise smp_affinity would only update after the next interrupt on x86 systems. Cc: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Signed-off-by: Andi Kleen [EMAIL PROTECTED] --- kernel/irq/proc.c |9 - 1 file changed, 8 insertions(+), 1 deletion(-) Index: linux/kernel/irq/proc.c

Re: [PATCH] [5/58] x86_64: Report the pending irq if available in smp_affinity

2007-07-19 Thread Ingo Molnar
* Andi Kleen [EMAIL PROTECTED] wrote: - int len = cpumask_scnprintf(page, count, irq_desc[(long)data].affinity); + struct irq_desc *desc = irq_desc + (long)data; + cpumask_t *mask = desc-affinity; + int len; +#ifdef CONFIG_GENERIC_PENDING_IRQ + if (desc-status