* 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 &
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
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
* 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
4 matches
Mail list logo