Procházet zdrojové kódy

drivers/char/ftape/lowlevel/fdc-io.c: Correct a comment

This patch correct a comment about cli().

Signed-off-by: Bastien Roucaries <roucaries.bastien@gmail.com>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Bastien Roucaries před 19 roky
rodič
revize
e9415777b1
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      drivers/char/ftape/lowlevel/fdc-io.c

+ 1 - 1
drivers/char/ftape/lowlevel/fdc-io.c

@@ -607,7 +607,7 @@ void fdc_reset(void)
 
 	fdc_mode = fdc_idle;
 
-	/*  maybe the cli()/sti() pair is not necessary, BUT:
+	/*  maybe the spin_lock_irq* pair is not necessary, BUT:
 	 *  the following line MUST be here. Otherwise fdc_interrupt_wait()
 	 *  won't wait. Note that fdc_reset() is called from 
 	 *  ftape_dumb_stop() when the fdc is busy transferring data. In this