patch-2.2.0-pre7 linux/arch/alpha/kernel/irq.c
Next file: linux/arch/alpha/kernel/machvec.h
Previous file: linux/arch/alpha/kernel/entry.S
Back to the patch index
Back to the overall index
- Lines: 27
- Date:
Sun Jan 10 09:59:54 1999
- Orig file:
v2.2.0-pre6/linux/arch/alpha/kernel/irq.c
- Orig date:
Thu Dec 31 10:28:58 1998
diff -u --recursive --new-file v2.2.0-pre6/linux/arch/alpha/kernel/irq.c linux/arch/alpha/kernel/irq.c
@@ -105,6 +105,8 @@
# define IACK_SC PYXIS_IACK_SC
#elif defined(CONFIG_ALPHA_TSUNAMI)
# define IACK_SC TSUNAMI_IACK_SC
+#elif defined(CONFIG_ALPHA_POLARIS)
+# define IACK_SC POLARIS_IACK_SC
#else
/* This is bogus but necessary to get it to compile on all platforms. */
# define IACK_SC 1L
@@ -314,14 +316,14 @@
int get_irq_list(char *buf)
{
- int i, j;
+ int i;
struct irqaction * action;
char *p = buf;
#ifdef __SMP__
p += sprintf(p, " ");
- for (j = 0; j < smp_num_cpus; j++)
- p += sprintf(p, "CPU%d ", j);
+ for (i = 0; i < smp_num_cpus; i++)
+ p += sprintf(p, "CPU%d ", i);
*p++ = '\n';
#endif
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov