patch-2.1.9 linux/arch/sparc/kernel/tadpole.c

Next file: linux/arch/sparc/kernel/tick14.c
Previous file: linux/arch/sparc/kernel/systbls.S
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.8/linux/arch/sparc/kernel/tadpole.c linux/arch/sparc/kernel/tadpole.c
@@ -61,7 +61,7 @@
 	if (!clk_ctrl)
 		return;
 	if (!(clk_state & CLOCK_INIT_DONE)) {
-		save_flags(flags); cli();
+		save_and_cli(flags);
 		clk_init();
 		clk_state |= CLOCK_INIT_DONE;       /* all done */
 		restore_flags(flags);
@@ -70,7 +70,7 @@
 	if (!(clk_ctrl[2] & 1))
 		return;               /* no speed up yet */
 
-	save_flags(flags); cli();
+	save_and_cli(flags);
 
 	/* if SCSI DMA in progress, don't slow clock */
 	mcsr = ldphys(MACIO_SCSI_CSR_ADDR);

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