diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2007-02-23 06:13:55 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-26 13:34:07 -0500 |
commit | 9f0a5ba5508143731dc63235de19659be20d26dc (patch) | |
tree | a642cd2987e119e4cda611230cf39d403e1e9706 /arch/ia64/sn | |
parent | fc5d56f987170cda1d344095c4df65a60a3e9820 (diff) |
[PATCH] irq: Remove set_native_irq_info
This patch replaces all instances of "set_native_irq_info(irq, mask)"
with "irq_desc[irq].affinity = mask". The latter form is clearer
uses fewer abstractions, and makes access to this field uniform
accross different architectures.
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/ia64/sn')
-rw-r--r-- | arch/ia64/sn/kernel/msi_sn.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/ia64/sn/kernel/msi_sn.c b/arch/ia64/sn/kernel/msi_sn.c index ea3dc38d73fd..49873aa4a37d 100644 --- a/arch/ia64/sn/kernel/msi_sn.c +++ b/arch/ia64/sn/kernel/msi_sn.c | |||
@@ -204,7 +204,7 @@ static void sn_set_msi_irq_affinity(unsigned int irq, cpumask_t cpu_mask) | |||
204 | msg.address_lo = (u32)(bus_addr & 0x00000000ffffffff); | 204 | msg.address_lo = (u32)(bus_addr & 0x00000000ffffffff); |
205 | 205 | ||
206 | write_msi_msg(irq, &msg); | 206 | write_msi_msg(irq, &msg); |
207 | set_native_irq_info(irq, cpu_mask); | 207 | irq_desc[irq].affinity = cpu_mask; |
208 | } | 208 | } |
209 | #endif /* CONFIG_SMP */ | 209 | #endif /* CONFIG_SMP */ |
210 | 210 | ||