diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2011-03-24 16:44:38 +0100 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2011-03-29 14:48:03 +0200 |
commit | a2178334e9e7bb0fc11c9706114b43dbdd612ce4 (patch) | |
tree | bf7a7510f5db22b79001a181cf6e7efeeed68934 /arch/ia64/kernel/irq.c | |
parent | 41ef0203214644ad003e8dac0147a3e5b6381034 (diff) | |
download | op-kernel-dev-a2178334e9e7bb0fc11c9706114b43dbdd612ce4.zip op-kernel-dev-a2178334e9e7bb0fc11c9706114b43dbdd612ce4.tar.gz |
ia64: Use accessor functions all over the place
Use the proper accessor functions instead of open coded irq_desc access.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/ia64/kernel/irq.c')
-rw-r--r-- | arch/ia64/kernel/irq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/ia64/kernel/irq.c b/arch/ia64/kernel/irq.c index ba29817..3fbf4bf 100644 --- a/arch/ia64/kernel/irq.c +++ b/arch/ia64/kernel/irq.c @@ -103,7 +103,7 @@ static char irq_redir [NR_IRQS]; // = { [0 ... NR_IRQS-1] = 1 }; void set_irq_affinity_info (unsigned int irq, int hwid, int redir) { if (irq < NR_IRQS) { - cpumask_copy(irq_desc[irq].affinity, + cpumask_copy(irq_get_irq_data(irq)->affinity, cpumask_of(cpu_logical_id(hwid))); irq_redir[irq] = (char) (redir & 0xff); } |