[patch 1/1] alpha: Fix use of irq_to_desc in irq.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Fixes:
arch/alpha/kernel/irq.c: In function âirq_select_affinityâ:
arch/alpha/kernel/irq.c:47: error: subscripted value is neither array nor pointer
make[1]: *** [arch/alpha/kernel/irq.o] Error 1


--- arch/alpha/kernel/irq.c.orig	2011-02-28 11:34:05.000000000 +0100
+++ arch/alpha/kernel/irq.c	2011-02-28 11:32:24.000000000 +0100
@@ -44,7 +44,7 @@

 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;


Seems to be a typo from here:

<http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=a891b393dd7f6ed84ecee98c0eac4a808ff2cbbc>

-of
--
To unsubscribe from this list: send the line "unsubscribe linux-alpha" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netdev]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux