patch-2.2.0-pre8 linux/arch/alpha/kernel/smp.c

Next file: linux/arch/alpha/lib/Makefile
Previous file: linux/arch/alpha/kernel/setup.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.2.0-pre7/linux/arch/alpha/kernel/smp.c linux/arch/alpha/kernel/smp.c
@@ -670,7 +670,7 @@
 {
 	int this_cpu = smp_processor_id();
 	volatile int * pending_ipis = &ipi_bits[this_cpu];
-	unsigned long ops, which;
+	unsigned long ops;
 
 	DBGS(("handle_ipi: on CPU %d ops 0x%x PC 0x%lx\n",
 	      this_cpu, *pending_ipis, regs->pc));
@@ -716,7 +716,7 @@
 			halt();
 		}
 		else {
-			printk(KERN_CRIT "unknown_ipi() on CPU %ld: %d\n",
+			printk(KERN_CRIT "unknown_ipi() on CPU %d: %lu\n",
 			       this_cpu, which);
 		}
 	  } while (ops);
@@ -894,7 +894,7 @@
 
 #else
 
-#define spinlock_raise_ipl(LOCK)	((LOCK), 0)
+#define spinlock_raise_ipl(LOCK)	((void)(LOCK), 0)
 #define spinlock_restore_ipl(PREV)	((void)(PREV))
 
 #endif /* MANAGE_SPINLOCK_IPL */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov