Skip to contentSkip to conversation

arm26: update irq handling code in arch/arm26/machine/dma.c

PATCH Applied James Nelson 2 participants 2 messages Jan 5, 2005 – Jan 6, 2005

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm26: update irq handling code in arch/arm26/machine/dma.c

Remove to-be-deprecated function save_flags() and nonexistent function local_save_flags_cli()

arch/arm26/machine/dma.c +3 -3
diff -urN --exclude='*~' linux-2.6.10-mm1-original/arch/arm26/machine/dma.c linux-2.6.10-mm1/arch/arm26/machine/dma.c
@@ -40,7 +40,7 @@
 	case DMA_MODE_READ: { /* read */
 		unsigned long flags;
 		DPRINTK("enable_dma fdc1772 data read\n");
-		local_save_flags_cli(flags);
+		local_irq_save(flags);
 		clf();
 			
 		memcpy ((void *)0x1c, (void *)&fdc1772_dma_read,
@@ -54,7 +54,7 @@
 	case DMA_MODE_WRITE: { /* write */
 		unsigned long flags;
 		DPRINTK("enable_dma fdc1772 data write\n");
-		local_save_flags_cli(flags);
+		local_irq_save(flags);
 		clf();
 		memcpy ((void *)0x1c, (void *)&fdc1772_dma_write,
 			&fdc1772_dma_write_end - &fdc1772_dma_write);
@@ -85,7 +85,7 @@
 
 	DPRINTK("arc_floppy_cmdend_enable_dma\n");
 	/*printk("enable_dma fdc1772 command end FIQ\n");*/
-	save_flags(flags);
+	local_irq_save(flags);
 	clf();
 	
 	/* B fdc1772_comendhandler */
Applied
#1 lore raw
Quoted 3 lines · James Nelson

Remove to-be-deprecated function save_flags() and nonexistent function local_save_flags_cli()

I've applied this to my tree.

About the signing off thing - do I assume that since its posted here, someone else will forward it on, or should I sign off on it and send it to who I think it should go to?