* [PATCH] Fix typo in call to irq_to_desc()
@ 2011-01-23 12:40 Morten Holst Larsen
2011-01-23 17:07 ` Matt Turner
0 siblings, 1 reply; 2+ messages in thread
From: Morten Holst Larsen @ 2011-01-23 12:40 UTC (permalink / raw)
To: linux-alpha; +Cc: Matt Turner
Fix typo in call to irq_to_desc()
Signed-off-by: Morten H. Larsen <m-larsen@post6.tele.dk>
diff --git a/arch/alpha/kernel/irq.c b/arch/alpha/kernel/irq.c
index 9ab234f..d3e20c7 100644
--- a/arch/alpha/kernel/irq.c
+++ b/arch/alpha/kernel/irq.c
@@ -44,7 +44,7 @@ static char irq_user_affinity[NR_IRQS];
int irq_select_affinity(unsigned int irq)
{
- struct irq_desc *desc = irq_to_desc[irq];
+ struct irq_desc *desc = irq_to_desc(irq);
static int last_cpu;
int cpu = last_cpu + 1;
--
1.7.1
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH] Fix typo in call to irq_to_desc()
2011-01-23 12:40 [PATCH] Fix typo in call to irq_to_desc() Morten Holst Larsen
@ 2011-01-23 17:07 ` Matt Turner
0 siblings, 0 replies; 2+ messages in thread
From: Matt Turner @ 2011-01-23 17:07 UTC (permalink / raw)
To: Morten Holst Larsen; +Cc: linux-alpha
On Sun, Jan 23, 2011 at 12:40 PM, Morten Holst Larsen
<m-larsen@post6.tele.dk> wrote:
> Fix typo in call to irq_to_desc()
>
> Signed-off-by: Morten H. Larsen <m-larsen@post6.tele.dk>
>
> diff --git a/arch/alpha/kernel/irq.c b/arch/alpha/kernel/irq.c
> index 9ab234f..d3e20c7 100644
> --- a/arch/alpha/kernel/irq.c
> +++ b/arch/alpha/kernel/irq.c
> @@ -44,7 +44,7 @@ static char irq_user_affinity[NR_IRQS];
>
> int irq_select_affinity(unsigned int irq)
> {
> - struct irq_desc *desc = irq_to_desc[irq];
> + struct irq_desc *desc = irq_to_desc(irq);
> static int last_cpu;
> int cpu = last_cpu + 1;
>
> --
> 1.7.1
Thanks! I'll apply this.
Matt
--
To unsubscribe from this list: send the line "unsubscribe linux-alpha" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-01-23 17:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-23 12:40 [PATCH] Fix typo in call to irq_to_desc() Morten Holst Larsen
2011-01-23 17:07 ` Matt Turner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox