From: Anton Blanchard <anton@samba.org>
To: linux-kernel@vger.kernel.org
Cc: akpm@osdl.org
Subject: [PATCH] Allow multiple cpus in irq affinity call
Date: Wed, 1 Dec 2004 13:14:07 +1100 [thread overview]
Message-ID: <20041201021407.GE17540@krispykreme.ozlabs.ibm.com> (raw)
Hi,
The generic irq affinity code limits us to a single cpu target regardless
of what the architecture supports. If required this should be done in
the architecture specific ->set_affinity call.
With this patch ppc64 is able to select all cpus affinity again.
Anton
Signed-off-by: Anton Blanchard <anton@samba.org>
diff -puN kernel/irq/proc.c~debug_gqirm kernel/irq/proc.c
--- gr_work/kernel/irq/proc.c~debug_gqirm 2004-11-30 19:57:04.584233473 -0600
+++ gr_work-anton/kernel/irq/proc.c 2004-11-30 19:57:13.149208938 -0600
@@ -56,8 +56,7 @@ static int irq_affinity_write_proc(struc
return -EINVAL;
irq_affinity[irq] = new_value;
- irq_desc[irq].handler->set_affinity(irq,
- cpumask_of_cpu(first_cpu(new_value)));
+ irq_desc[irq].handler->set_affinity(irq, new_value);
return full_count;
}
_
reply other threads:[~2004-12-01 2:20 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20041201021407.GE17540@krispykreme.ozlabs.ibm.com \
--to=anton@samba.org \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®